Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006988/0.006988, allocations: 172 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 12.84 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2937, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0009009/0.2947, allocations: 448.4 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.2956, allocations: 0.8079 MB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2957, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.2957, allocations: 3.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.2958, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.717e-05/0.2959, allocations: 11.98 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.2959, allocations: 43.8 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2961, allocations: 15.98 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.2961, allocations: 11.94 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.2962, allocations: 19.91 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2962, allocations: 3.984 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.2962, allocations: 4 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2962, allocations: 4 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2963, allocations: 45.56 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.475e-05/0.2964, allocations: 31.88 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2964, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2964, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2964, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004971/0.2969, allocations: 371.7 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.297, allocations: 11.97 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.297, allocations: 30.75 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.297, allocations: 4.938 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2972, allocations: 180.2 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2972, allocations: 4.375 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.2972, allocations: 384 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.2974, allocations: 82.2 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2975, allocations: 3.938 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2975, allocations: 4 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.2975, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.2978, allocations: 91.92 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.2982, allocations: 272.8 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2984, allocations: 66.55 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2986, allocations: 52.91 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.2986, allocations: 4 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2986, allocations: 34.56 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2986, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005608/0.2992, allocations: 161.4 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.2992, allocations: 55.39 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.2993, allocations: 113.8 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2993, allocations: 29.64 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.2994, allocations: 88.08 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.2994, allocations: 7.906 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.2994, allocations: 13.72 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2995, allocations: 314.8 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2997, allocations: 43.97 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2999, allocations: 44.14 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.3002, allocations: 92.72 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3002, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003473/0.3005, allocations: 125.5 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3006, allocations: 13.72 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3006, allocations: 3.984 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3006, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3007, allocations: 19.98 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3007, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.3008, allocations: 19.98 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3008, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.3009, allocations: 109.8 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3009, allocations: 4 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.301, allocations: 11.89 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.301, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.301, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.301, allocations: 4 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3012, allocations: 165.6 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3012, allocations: 8 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.882e-05/0.3013, allocations: 15.98 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3013, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3013, allocations: 7.984 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3013, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3013, allocations: 3.938 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.3017, allocations: 215.3 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.3017, allocations: 85.05 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3018, allocations: 4 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3019, allocations: 19.97 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3019, allocations: 4 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3019, allocations: 0 / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.302, allocations: 91.58 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.302, allocations: 3.938 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002168/0.3022, allocations: 8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006774/0.3029, allocations: 0.7552 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.3032, allocations: 95.86 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3033, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3034, allocations: 43.97 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3037, allocations: 9.969 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3041, allocations: 166.6 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3044, allocations: 0.6848 MB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.3044, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.3045, allocations: 15.44 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3045, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009882/0.3144, allocations: 1.309 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.3146, allocations: 206.8 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.959, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches