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.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.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.001264/0.001264, allocations: 107.5 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.001303/0.001303, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.168/2.168, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.19 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2885, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003988/0.2926, allocations: 1.91 MB / 0.9521 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004799/0.2974, allocations: 3.451 MB / 0.9555 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2976, allocations: 4 kB / 0.9555 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.298, allocations: 59.61 kB / 0.9556 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.2986, allocations: 127.3 kB / 0.9557 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.765e-05/0.2987, allocations: 23.91 kB / 0.9557 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.299, allocations: 171.2 kB / 0.9559 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2992, allocations: 33.66 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2994, allocations: 87.64 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.2996, allocations: 83.61 kB / 0.9561 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.2997, allocations: 8 kB / 0.9561 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2998, allocations: 31.92 kB / 0.9561 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.2999, allocations: 39.83 kB / 0.9561 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3, allocations: 75.53 kB / 0.9562 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3002, allocations: 179.2 kB / 0.9564 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3003, allocations: 0 / 0.9564 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3003, allocations: 0 / 0.9564 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.527e-06/0.3003, allocations: 0 / 0.9564 GB, free: 2.527 MB / 0.7325 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.001022/0.3013, allocations: 0.5023 MB / 0.9569 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3014, allocations: 8.031 kB / 0.9569 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.3014, allocations: 24.66 kB / 0.9569 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.3018, allocations: 250.8 kB / 0.9572 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3019, allocations: 4.375 kB / 0.9572 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3019, allocations: 384 / 0.9572 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.3023, allocations: 145.7 kB / 0.9573 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3023, allocations: 3.938 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3023, allocations: 4 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.3024, allocations: 12 kB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3028, allocations: 139.9 kB / 0.9574 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.3036, allocations: 452.5 kB / 0.9579 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.304, allocations: 174.4 kB / 0.958 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3043, allocations: 104.8 kB / 0.9581 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3043, allocations: 3.984 kB / 0.9582 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3043, allocations: 42.55 kB / 0.9582 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3043, allocations: 0 / 0.9582 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008801/0.3052, allocations: 289.6 kB / 0.9585 GB, free: 232 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3053, allocations: 55.41 kB / 0.9585 GB, free: 164 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.3055, allocations: 213 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3055, allocations: 37.64 kB / 0.9588 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.3056, allocations: 120.1 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3057, allocations: 43.36 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.3057, allocations: 29.7 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3059, allocations: 338.8 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.3061, allocations: 75.94 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3063, allocations: 71.94 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.3068, allocations: 164.7 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3068, allocations: 0 / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005272/0.3073, allocations: 217.1 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3074, allocations: 10.19 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3074, allocations: 0 / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3074, allocations: 0 / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3076, allocations: 35.91 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3077, allocations: 0 / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3078, allocations: 23.88 kB / 0.9598 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3079, allocations: 11.98 kB / 0.9599 GB, free: 14.76 MB / 0.7481 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.0001185/0.308, allocations: 133.7 kB / 0.96 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.308, allocations: 23.75 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.3081, allocations: 25.84 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3081, allocations: 0 / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3081, allocations: 0 / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3081, allocations: 3.984 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.3084, allocations: 265.4 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3085, allocations: 4 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.3087, allocations: 39.91 kB / 0.9603 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3087, allocations: 4 kB / 0.9603 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3088, allocations: 11.92 kB / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3088, allocations: 0 / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3088, allocations: 0 / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.3094, allocations: 311.2 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3095, allocations: 116.8 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3095, allocations: 0 / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3097, allocations: 11.98 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3098, allocations: 19.92 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3098, allocations: 7.984 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3099, allocations: 160.5 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002775/0.3102, allocations: 39.88 kB / 0.961 GB, free: 13.52 MB / 0.7481 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.0001762/0.3104, allocations: 111.2 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.311, allocations: 191.8 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.311, allocations: 0 / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.3112, allocations: 99.86 kB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3116, allocations: 20.42 kB / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.3125, allocations: 455.1 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3128, allocations: 0.7275 MB / 0.9625 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.3129, allocations: 27.42 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.313, allocations: 0 / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.004582/0.3175, allocations: 2.319 MB / 0.9648 GB, free: 9.539 MB / 0.7481 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/jenkins1/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