Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001637/0.001637, allocations: 102.3 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.001952/0.001952, allocations: 212.9 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.621/1.621, allocations: 230.6 MB / 252.8 MB, free: 9.164 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.333/3.333, allocations: 0.505 GB / 0.8066 GB, free: 23.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.00217/0.00217, allocations: 72.75 kB / 1.172 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3637, allocations: 180.2 MB / 1.348 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002216/0.366, allocations: 0.8373 MB / 1.349 GB, free: 9.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.3661, allocations: 47.78 kB / 1.349 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.3661, allocations: 0 / 1.349 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.3662, allocations: 7.875 kB / 1.349 GB, free: 9.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.3663, allocations: 7.875 kB / 1.349 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.355e-05/0.3663, allocations: 19.97 kB / 1.349 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3665, allocations: 67.84 kB / 1.349 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3666, allocations: 35.91 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3667, allocations: 31.8 kB / 1.349 GB, free: 9.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3667, allocations: 23.86 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3668, allocations: 4 kB / 1.349 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.3668, allocations: 8 kB / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3668, allocations: 15.92 kB / 1.349 GB, free: 9.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.3669, allocations: 35.75 kB / 1.349 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.367, allocations: 79.84 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.367, allocations: 0 / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.367, allocations: 0 / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.367, allocations: 7.938 kB / 1.349 GB, free: 8.91 MB / 1.045 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.0005053/0.3675, allocations: 383.1 kB / 1.349 GB, free: 8.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3676, allocations: 11.98 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.3676, allocations: 46.73 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3676, allocations: 8.891 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.3679, allocations: 188.2 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3679, allocations: 4.375 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3679, allocations: 8.375 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3681, allocations: 106 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3681, allocations: 3.938 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3681, allocations: 4 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3681, allocations: 4 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.3682, allocations: 43.86 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.3688, allocations: 436.7 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.3688, allocations: 37.31 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.3689, allocations: 21.7 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3689, allocations: 0 / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3689, allocations: 38.56 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3689, allocations: 0 / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.3691, allocations: 57.53 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3692, allocations: 77.11 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3693, allocations: 161.3 kB / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3693, allocations: 25.7 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.3694, allocations: 104 kB / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.3694, allocations: 3.953 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.3695, allocations: 21.97 kB / 1.351 GB, free: 6.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3696, allocations: 322.8 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.3697, allocations: 4 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.3697, allocations: 25.64 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.3697, allocations: 25.66 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3697, allocations: 4 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.3698, allocations: 69.58 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3699, allocations: 7.938 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3699, allocations: 0 / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3699, allocations: 0 / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.3699, allocations: 8 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3699, allocations: 0 / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.37, allocations: 3.953 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.37, allocations: 4 kB / 1.351 GB, free: 6.418 MB / 1.045 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 0.000106/0.3701, allocations: 117.9 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3701, allocations: 11.89 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.3702, allocations: 11.86 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3702, allocations: 4 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3702, allocations: 0 / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3702, allocations: 4.078 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.3707, allocations: 470.7 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3707, allocations: 4.062 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.3707, allocations: 4 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3707, allocations: 0 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3707, allocations: 0 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3707, allocations: 0 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3707, allocations: 4 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.3708, allocations: 85.81 kB / 1.352 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.3709, allocations: 97.02 kB / 1.352 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3709, allocations: 3.938 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.371, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.371, allocations: 4 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.371, allocations: 4 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001065/0.3711, allocations: 117.1 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 4 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001867/0.3713, allocations: 4 kB / 1.352 GB, free: 5.367 MB / 1.045 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.0005517/0.3718, allocations: 0.621 MB / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.3719, allocations: 12 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3719, allocations: 0 / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.3719, allocations: 16.03 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.3721, allocations: 8 kB / 1.353 GB, free: 4.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3736, allocations: 1.33 MB / 1.354 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3739, allocations: 0.6924 MB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.374, allocations: 8.438 kB / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.374, allocations: 23.42 kB / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.374, allocations: 0 / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3999, allocations: 1.594 MB / 1.356 GB, free: 1.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.869, allocations: 9.703 kB / 1.356 GB, free: 1.012 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.962904904037714]