Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 68.25 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002582/0.3096, allocations: 1.398 MB / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.3135, allocations: 2.973 MB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3135, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.021e-05/0.3136, allocations: 7.922 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3137, allocations: 43.75 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.3142, allocations: 183.4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.3145, allocations: 235.5 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.3146, allocations: 11.88 kB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3147, allocations: 95.83 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3148, allocations: 127.7 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.3149, allocations: 12 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.3152, allocations: 143.8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3153, allocations: 91.75 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3154, allocations: 87.64 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.3158, allocations: 271 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3158, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3158, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3158, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009306/0.3168, allocations: 0.5296 MB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3168, allocations: 15.98 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.3169, allocations: 46.73 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.317, allocations: 24.83 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3173, allocations: 236.1 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.3173, allocations: 28.36 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3174, allocations: 12.38 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.318, allocations: 289.1 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3181, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3181, allocations: 8 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3181, allocations: 7.938 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3197, allocations: 0.7452 MB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3201, allocations: 321 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3219, allocations: 0.6408 MB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.3224, allocations: 212.7 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.3229, allocations: 392.3 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.3229, allocations: 38.56 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.3229, allocations: 0 / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001771/0.3247, allocations: 0.6613 MB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3247, allocations: 55.41 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3249, allocations: 121.3 kB / 1.331 GB, free: 9.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3249, allocations: 37.7 kB / 1.331 GB, free: 9.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.325, allocations: 88.78 kB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3251, allocations: 130.9 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3252, allocations: 73.67 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3254, allocations: 330.8 kB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.3259, allocations: 195.7 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.3264, allocations: 203.5 kB / 1.332 GB, free: 7.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.3273, allocations: 366.1 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3273, allocations: 0 / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001134/0.3285, allocations: 468.7 kB / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3285, allocations: 4 kB / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3285, allocations: 0 / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3285, allocations: 7.984 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.3289, allocations: 95.86 kB / 1.332 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3289, allocations: 0 / 1.332 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3291, allocations: 51.8 kB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3291, allocations: 15.98 kB / 1.333 GB, free: 6.992 MB / 1.029 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 (37): * Single equations (assignments): 37 * 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 0.0001352/0.3293, allocations: 135.5 kB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.3293, allocations: 23.78 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.3306, allocations: 0.518 MB / 1.333 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3306, allocations: 8 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3306, allocations: 3.938 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3306, allocations: 3.984 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.331, allocations: 313.3 kB / 1.334 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.331, allocations: 7.938 kB / 1.334 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.3314, allocations: 91.86 kB / 1.334 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3314, allocations: 0 / 1.334 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.3314, allocations: 11.98 kB / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3314, allocations: 0 / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3314, allocations: 4 kB / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3326, allocations: 0.4923 MB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.3326, allocations: 96.89 kB / 1.334 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.3327, allocations: 8 kB / 1.334 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3329, allocations: 35.95 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.3331, allocations: 119.8 kB / 1.334 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3331, allocations: 16 kB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.521e-05/0.3332, allocations: 107.2 kB / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3332, allocations: 0 / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003956/0.3336, allocations: 115.8 kB / 1.335 GB, free: 4.797 MB / 1.029 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 (37): * Single equations (assignments): 37 * 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.001737/0.3353, allocations: 1.131 MB / 1.336 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.3365, allocations: 451.3 kB / 1.336 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3365, allocations: 0 / 1.336 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.337, allocations: 248.5 kB / 1.336 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3374, allocations: 79.86 kB / 1.336 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.3419, allocations: 2.679 MB / 1.339 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3423, allocations: 0.7289 MB / 1.34 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.3427, allocations: 183.4 kB / 1.34 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3429, allocations: 63.39 kB / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of SimCode: time 6.82e-07/0.3429, allocations: 0 / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.3756, allocations: 7.48 MB / 1.347 GB, free: 7.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.309, allocations: 8.625 kB / 1.347 GB, free: 7.801 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.675677357940003]