Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001563/0.001563, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001916, allocations: 71.62 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7692, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003274/0.7726, allocations: 1.885 MB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.7774, allocations: 3.585 MB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.7776, allocations: 1.219 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.7787, allocations: 195.2 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.779, allocations: 76.81 kB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.55e-05/0.7791, allocations: 27.52 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.7795, allocations: 261.4 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.7797, allocations: 33.38 kB / 1.089 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.7798, allocations: 73.58 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.78, allocations: 75.02 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.78, allocations: 7.75 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.7801, allocations: 27.95 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.7802, allocations: 59.09 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.7803, allocations: 90.86 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.7806, allocations: 186.5 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7806, allocations: 0 / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7806, allocations: 3.938 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.7807, allocations: 1.469 kB / 1.089 GB, free: 13.25 MB / 0.8419 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.0009583/0.7816, allocations: 0.5256 MB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7817, allocations: 12.53 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.7817, allocations: 22.19 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.7821, allocations: 259.1 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.7821, allocations: 6.375 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.7822, allocations: 4.062 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.7826, allocations: 139.9 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7826, allocations: 1.156 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.7826, allocations: 0 / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.7826, allocations: 18.34 kB / 1.09 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.7831, allocations: 141 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.7839, allocations: 465.4 kB / 1.091 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.7843, allocations: 168.1 kB / 1.091 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.7846, allocations: 114.3 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.7846, allocations: 1.219 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.7847, allocations: 32.52 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.7847, allocations: 0 / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0009052/0.7856, allocations: 294.2 kB / 1.091 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7856, allocations: 52.47 kB / 1.091 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.7859, allocations: 243.5 kB / 1.092 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.7859, allocations: 27.11 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.786, allocations: 139.3 kB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.7861, allocations: 44.3 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.7862, allocations: 36.55 kB / 1.092 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7863, allocations: 336.6 kB / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.7866, allocations: 75.72 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.7868, allocations: 74.55 kB / 1.092 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.7873, allocations: 167.3 kB / 1.093 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7873, allocations: 0 / 1.093 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005731/0.7879, allocations: 219.8 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.7879, allocations: 5.484 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7879, allocations: 0 / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.788, allocations: 1.125 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.7882, allocations: 36.86 kB / 1.093 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.7882, allocations: 1.891 kB / 1.093 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.7884, allocations: 24.25 kB / 1.093 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.7885, allocations: 8.594 kB / 1.093 GB, free: 10.89 MB / 0.8419 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 0.0001453/0.7886, allocations: 140.6 kB / 1.093 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.7887, allocations: 22.77 kB / 1.093 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.7887, allocations: 32.53 kB / 1.093 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7888, allocations: 5.922 kB / 1.093 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7888, allocations: 0 / 1.093 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7888, allocations: 5.609 kB / 1.093 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.7891, allocations: 270.9 kB / 1.093 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7891, allocations: 0 / 1.093 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7894, allocations: 41.86 kB / 1.093 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7894, allocations: 5.078 kB / 1.093 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.7894, allocations: 7.5 kB / 1.093 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7894, allocations: 0 / 1.093 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7894, allocations: 1.125 kB / 1.093 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.7901, allocations: 317.9 kB / 1.094 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.7902, allocations: 113.7 kB / 1.094 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.7902, allocations: 5.219 kB / 1.094 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.7904, allocations: 12.55 kB / 1.094 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.7905, allocations: 13.39 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.7905, allocations: 3.938 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001928/0.7907, allocations: 177.6 kB / 1.094 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7907, allocations: 4 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002928/0.791, allocations: 47.08 kB / 1.094 GB, free: 10.04 MB / 0.8419 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.0001842/0.7912, allocations: 109.1 kB / 1.094 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.7918, allocations: 192.8 kB / 1.094 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7918, allocations: 4 kB / 1.094 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.7921, allocations: 96.58 kB / 1.094 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.7926, allocations: 57.69 kB / 1.094 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.7936, allocations: 0.4952 MB / 1.095 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.7941, allocations: 0.7419 MB / 1.096 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.7942, allocations: 20.66 kB / 1.096 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.7942, allocations: 1.094 kB / 1.096 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.006093/0.8003, allocations: 2.731 MB / 1.098 GB, free: 8.625 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches