Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001853, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7832, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002958/0.7862, allocations: 1.902 MB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.7898, allocations: 3.453 MB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.7899, allocations: 1.062 kB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.7903, allocations: 49.27 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.7908, allocations: 136 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.646e-05/0.7909, allocations: 32.86 kB / 0.955 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.7911, allocations: 164 kB / 0.9552 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.7912, allocations: 28.05 kB / 0.9552 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.7914, allocations: 82.48 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.7916, allocations: 84.42 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.7916, allocations: 8.031 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.7917, allocations: 27.77 kB / 0.9554 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.7918, allocations: 37.59 kB / 0.9554 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.7919, allocations: 74.53 kB / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.7921, allocations: 153.3 kB / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7921, allocations: 3.938 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7921, allocations: 4 kB / 0.9557 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7921, allocations: 0 / 0.9557 GB, free: 4.242 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007537/0.7929, allocations: 0.5064 MB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7929, allocations: 8.75 kB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.793, allocations: 17.94 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.7933, allocations: 247.9 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7933, allocations: 2.062 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.7934, allocations: 4.312 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.7937, allocations: 137.2 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7937, allocations: 1.438 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7938, allocations: 0 / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.7938, allocations: 23.75 kB / 0.9566 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.7942, allocations: 133.8 kB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.7949, allocations: 446.8 kB / 0.9571 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.7953, allocations: 163.6 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.7955, allocations: 101.2 kB / 0.9574 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.7956, allocations: 5.312 kB / 0.9574 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.7956, allocations: 35.97 kB / 0.9574 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.7956, allocations: 0 / 0.9574 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008393/0.7964, allocations: 278.7 kB / 0.9577 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.7965, allocations: 52.91 kB / 0.9577 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.7967, allocations: 209.1 kB / 0.9579 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.7967, allocations: 27.14 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.7968, allocations: 119.7 kB / 0.9581 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.7968, allocations: 45.47 kB / 0.9581 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.7969, allocations: 29.98 kB / 0.9582 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.797, allocations: 345.4 kB / 0.9585 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.7972, allocations: 65.09 kB / 0.9585 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.7974, allocations: 70.22 kB / 0.9586 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.7978, allocations: 160.6 kB / 0.9588 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7979, allocations: 0 / 0.9588 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004928/0.7984, allocations: 210.5 kB / 0.959 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7984, allocations: 5.5 kB / 0.959 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7984, allocations: 7.938 kB / 0.959 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7984, allocations: 1.375 kB / 0.959 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.7987, allocations: 39.27 kB / 0.959 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7987, allocations: 1.375 kB / 0.959 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.7989, allocations: 20.17 kB / 0.959 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.7989, allocations: 2.75 kB / 0.959 GB, free: 1.535 MB / 0.7169 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 (13): * Single equations (assignments): 13 * 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 9.271e-05/0.799, allocations: 134 kB / 0.9592 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.799, allocations: 19.97 kB / 0.9592 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.7991, allocations: 31.27 kB / 0.9592 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7991, allocations: 1.375 kB / 0.9592 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7991, allocations: 0 / 0.9592 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7991, allocations: 1.375 kB / 0.9592 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.7994, allocations: 258.7 kB / 0.9595 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7994, allocations: 0 / 0.9595 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.7996, allocations: 36.66 kB / 0.9595 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7996, allocations: 0 / 0.9595 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.7996, allocations: 13.36 kB / 0.9595 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7996, allocations: 1.375 kB / 0.9595 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7996, allocations: 0 / 0.9595 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.8001, allocations: 305.8 kB / 0.9598 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.8002, allocations: 115 kB / 0.9599 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.8003, allocations: 1.219 kB / 0.9599 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.8005, allocations: 19.25 kB / 0.9599 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.8005, allocations: 9.422 kB / 0.9599 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.8005, allocations: 2.281 kB / 0.9599 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001302/0.8007, allocations: 151.2 kB / 0.9601 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8007, allocations: 5 kB / 0.9601 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002895/0.801, allocations: 45.58 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 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 (13): * Single equations (assignments): 13 * 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.0001542/0.8011, allocations: 107.8 kB / 0.9602 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.8017, allocations: 180.6 kB / 0.9604 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8017, allocations: 0 / 0.9604 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.8019, allocations: 94.59 kB / 0.9605 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.8024, allocations: 29.48 kB / 0.9605 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.8032, allocations: 413.6 kB / 0.9609 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.8035, allocations: 0.731 MB / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.8037, allocations: 58.19 kB / 0.9617 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.8038, allocations: 19.02 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8038, allocations: 4 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.005084/0.8089, allocations: 1.693 MB / 0.9634 GB, free: 14.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches