Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001169/0.001169, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005134, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6774, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001872/0.6794, allocations: 1.571 MB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.6826, allocations: 3.243 MB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.6827, allocations: 1.031 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.6829, allocations: 40.89 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.6833, allocations: 123.4 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.487e-05/0.6834, allocations: 19.72 kB / 0.9593 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.6836, allocations: 164.3 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.6837, allocations: 27.11 kB / 0.9595 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.6838, allocations: 77.72 kB / 0.9596 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.684, allocations: 69.62 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.684, allocations: 4.281 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.6841, allocations: 27.97 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.6842, allocations: 38 kB / 0.9597 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.6842, allocations: 50.89 kB / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.6844, allocations: 122.7 kB / 0.9599 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6844, allocations: 0 / 0.9599 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6844, allocations: 1.375 kB / 0.9599 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.6844, allocations: 0 / 0.9599 GB, free: 3.324 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.0007072/0.6851, allocations: 0.4903 MB / 0.9604 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6852, allocations: 9.625 kB / 0.9604 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.6852, allocations: 19.97 kB / 0.9604 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.6855, allocations: 237.2 kB / 0.9606 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.6855, allocations: 1.375 kB / 0.9606 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.6855, allocations: 8.125 kB / 0.9606 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.6859, allocations: 146.1 kB / 0.9608 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6859, allocations: 0 / 0.9608 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6859, allocations: 5.328 kB / 0.9608 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.6859, allocations: 12.23 kB / 0.9608 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.6864, allocations: 162.6 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.687, allocations: 451.6 kB / 0.9614 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.6874, allocations: 182.8 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.6876, allocations: 116.7 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.6876, allocations: 5.969 kB / 0.9616 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.6877, allocations: 35.47 kB / 0.9617 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.6877, allocations: 0 / 0.9617 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008023/0.6885, allocations: 325.5 kB / 0.962 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.6885, allocations: 53.16 kB / 0.962 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6887, allocations: 210.9 kB / 0.9622 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6887, allocations: 30.64 kB / 0.9623 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.6888, allocations: 123.2 kB / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6888, allocations: 45.56 kB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.6888, allocations: 4 kB / 0.9624 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.6889, allocations: 331.3 kB / 0.9628 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.6891, allocations: 83.47 kB / 0.9628 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.6893, allocations: 87.53 kB / 0.9629 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.6895, allocations: 86.72 kB / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6896, allocations: 0 / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004754/0.69, allocations: 233.7 kB / 0.9632 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6901, allocations: 5.469 kB / 0.9632 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6901, allocations: 4 kB / 0.9632 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6901, allocations: 1.25 kB / 0.9632 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.6903, allocations: 43.67 kB / 0.9633 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6903, allocations: 3.984 kB / 0.9633 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.6905, allocations: 28.64 kB / 0.9633 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.6905, allocations: 6.219 kB / 0.9633 GB, free: 0.6562 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.278e-05/0.6906, allocations: 138.2 kB / 0.9634 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.6907, allocations: 24.91 kB / 0.9635 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.6907, allocations: 27.86 kB / 0.9635 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6907, allocations: 0.8438 kB / 0.9635 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6907, allocations: 0 / 0.9635 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6907, allocations: 1.281 kB / 0.9635 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.691, allocations: 260.9 kB / 0.9637 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.691, allocations: 0 / 0.9637 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.6912, allocations: 48.02 kB / 0.9638 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6912, allocations: 1.156 kB / 0.9638 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6912, allocations: 5.547 kB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6912, allocations: 3.938 kB / 0.9638 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6912, allocations: 0 / 0.9638 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.6918, allocations: 332.5 kB / 0.9641 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6919, allocations: 115.4 kB / 0.9642 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.6919, allocations: 5.125 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.6921, allocations: 26.36 kB / 0.9643 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.6922, allocations: 8.859 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6922, allocations: 2.625 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00013/0.6924, allocations: 160.3 kB / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6924, allocations: 0 / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002785/0.6927, allocations: 39.97 kB / 0.9645 GB, free: 15.7 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.6928, allocations: 107.2 kB / 0.9646 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.6933, allocations: 192 kB / 0.9647 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6934, allocations: 0 / 0.9647 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.6936, allocations: 111 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.694, allocations: 29.55 kB / 0.9649 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.6949, allocations: 494 kB / 0.9653 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6952, allocations: 0.732 MB / 0.9661 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.6954, allocations: 47.38 kB / 0.9661 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.6955, allocations: 14.06 kB / 0.9661 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6955, allocations: 1.188 kB / 0.9661 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.004622/0.7001, allocations: 1.588 MB / 0.9677 GB, free: 13.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches