Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.0008059/0.0008059, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008937/0.0008937, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.698e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001277/0.001294, allocations: 0.7893 MB / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.948e-05/0.001393, allocations: 47.72 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.001437, allocations: 4 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.00147, allocations: 7.875 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.001573, allocations: 7.922 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.569e-05/0.001608, allocations: 15.98 kB / 0.9514 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.001697, allocations: 63.84 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.001811, allocations: 27.91 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.001873, allocations: 35.91 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.001924, allocations: 27.89 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.001946, allocations: 8 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.001953, allocations: 4 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.00197, allocations: 15.94 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.001996, allocations: 23.91 kB / 0.9516 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.002089, allocations: 67.7 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.002092, allocations: 4 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002092, allocations: 3.938 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002096, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003333/0.002429, allocations: 306 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.002472, allocations: 16.03 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.002503, allocations: 38.75 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.002525, allocations: 12.84 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.002665, allocations: 133.6 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.002675, allocations: 8.375 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.002684, allocations: 8.312 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.002796, allocations: 97.77 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.002804, allocations: 192 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.002812, allocations: 384 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.002818, allocations: 8.125 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.817e-05/0.002876, allocations: 39.92 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.003281, allocations: 391.8 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.003329, allocations: 41.19 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.003357, allocations: 21.84 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.003365, allocations: 0 / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.003383, allocations: 30.56 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.003384, allocations: 0 / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.003526, allocations: 57.58 kB / 0.9528 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.003561, allocations: 85.3 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.003662, allocations: 160.8 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003671, allocations: 25.7 kB / 0.953 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.003759, allocations: 104.1 kB / 0.9531 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.003766, allocations: 11.95 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.003792, allocations: 17.67 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.003865, allocations: 318.8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.003881, allocations: 8 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.003896, allocations: 13.72 kB / 0.9535 GB, free: 208 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.003931, allocations: 41.66 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003933, allocations: 0 / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.073e-05/0.003983, allocations: 57.58 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.003996, allocations: 4 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.004002, allocations: 4 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004013, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.004061, allocations: 7.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.004065, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.004083, allocations: 7.938 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.004086, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.837e-05/0.004155, allocations: 125.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.004176, allocations: 7.953 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.004193, allocations: 11.81 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004195, allocations: 3.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.004199, allocations: 3.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004202, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.004449, allocations: 433.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.004451, allocations: 3.984 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.004461, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.004463, allocations: 4.062 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.004468, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004469, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.004472, allocations: 8.031 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.822e-05/0.00452, allocations: 73.94 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.004539, allocations: 15.88 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.004548, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.004558, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.00457, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.004571, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.004625, allocations: 130.5 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004625, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001229/0.004748, allocations: 8 kB / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002704/0.005019, allocations: 0.6093 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.005082, allocations: 19.98 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005084, allocations: 3.938 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.005091, allocations: 8 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.0052, allocations: 6.516 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.005985, allocations: 1.341 MB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.006026, allocations: 75.33 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.00605, allocations: 8.484 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.006092, allocations: 28.48 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 2.7e-07/0.006093, allocations: 4 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02042, allocations: 2.242 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.603/6.624, allocations: 9.875 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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: 10.641032819636166]