Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001199/0.001199, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.375/2.375, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.62 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2374, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002386/0.2398, allocations: 1.534 MB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.663e-05/0.2399, allocations: 27.91 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.24, allocations: 7.938 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.2401, allocations: 7.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.2401, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.522e-05/0.2402, allocations: 19.97 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.2403, allocations: 51.78 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2404, allocations: 35.97 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.2404, allocations: 19.92 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.2405, allocations: 27.86 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2405, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.2405, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.2406, allocations: 15.98 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.2406, allocations: 35.73 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.658e-05/0.2407, allocations: 56.03 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2407, allocations: 3.984 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2407, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2407, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003093/0.241, allocations: 359.3 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2411, allocations: 8.031 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.2411, allocations: 12.78 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2412, allocations: 180.3 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2413, allocations: 12.31 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.2413, allocations: 4.375 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2414, allocations: 98.62 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.2414, allocations: 4.188 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2414, allocations: 7.938 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2414, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.2415, allocations: 43.92 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.242, allocations: 0.644 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.2421, allocations: 169.1 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.2421, allocations: 84.08 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2421, allocations: 83.27 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2422, allocations: 109.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2422, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.792e-05/0.2422, allocations: 37.55 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2423, allocations: 126.7 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2424, allocations: 169.2 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2424, allocations: 25.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.2425, allocations: 112 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.2425, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2425, allocations: 17.62 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.2426, allocations: 322.8 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.2427, allocations: 0 / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.2427, allocations: 26.52 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.2427, allocations: 30.58 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2427, allocations: 0 / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.517e-05/0.2428, allocations: 53.62 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2428, allocations: 5.406 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2429, allocations: 4 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2429, allocations: 3.938 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.2429, allocations: 7.938 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.2429, allocations: 8.078 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.243, allocations: 15.78 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.243, allocations: 0 / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.042e-05/0.2431, allocations: 193.1 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.2431, allocations: 108.9 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.2432, allocations: 128.5 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/0.2432, allocations: 184.3 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-05/0.2433, allocations: 184.2 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.2434, allocations: 176.3 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2435, allocations: 425.2 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.2436, allocations: 108.9 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.2436, allocations: 101 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.251e-05/0.2437, allocations: 188.2 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.2437, allocations: 184.2 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-05/0.2438, allocations: 176.5 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.455e-05/0.2438, allocations: 180.2 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.244, allocations: 323.7 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.244, allocations: 182 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.2441, allocations: 188.2 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.2442, allocations: 108.9 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.2442, allocations: 176.3 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.2443, allocations: 112.9 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.2444, allocations: 131.2 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2444, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002234/0.2446, allocations: 8 kB / 1.076 GB, free: 1.867 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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 9.289e-05/0.2447, allocations: 171.1 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.587e-05/0.2447, allocations: 11.98 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2448, allocations: 4 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.2448, allocations: 3.938 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2451, allocations: 459.9 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.2453, allocations: 229.3 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2456, allocations: 0.6924 MB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.52e-05/0.2456, allocations: 4 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2456, allocations: 15.42 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2456, allocations: 0 / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of Templates: time 0.001865/0.2475, allocations: 428.6 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches