Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 91.22 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.0009792/0.0009793, 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.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 12.16 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3631, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003187/0.3664, allocations: 2.536 MB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3676, allocations: 0.756 MB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3678, allocations: 4 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.3679, allocations: 39.64 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3682, allocations: 123 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.3685, allocations: 111.9 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.369, allocations: 478.9 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3693, allocations: 149.7 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3696, allocations: 159.3 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3698, allocations: 187.1 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.3699, allocations: 12 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.37, allocations: 16 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.37, allocations: 67.62 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.3701, allocations: 93.45 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.3705, allocations: 319.4 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3705, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3705, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.3705, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001312/0.3718, allocations: 0.6743 MB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3719, allocations: 12.03 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.372, allocations: 51.44 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.3725, allocations: 310.2 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.3725, allocations: 28.95 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.3726, allocations: 35.94 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.3733, allocations: 384.9 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3733, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.3733, allocations: 16 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3734, allocations: 8 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.374, allocations: 282.3 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.3759, allocations: 1.452 MB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.3765, allocations: 289.2 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.3769, allocations: 189.2 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3769, allocations: 240 / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.377, allocations: 34.8 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.133e-06/0.377, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002813/0.3798, allocations: 0.8959 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3799, allocations: 63.36 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.3803, allocations: 369.6 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3803, allocations: 33.7 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3805, allocations: 204.2 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3806, allocations: 98.64 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.3807, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3808, allocations: 342.8 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3811, allocations: 104.5 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3813, allocations: 167.8 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3816, allocations: 112 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3816, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001092/0.3827, allocations: 499 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.3828, allocations: 125.7 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3828, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/0.3835, allocations: 192.6 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3837, allocations: 39.98 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.387, allocations: 2.478 MB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3874, allocations: 51.61 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.3874, allocations: 12 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.3874, allocations: 3.984 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.3884, allocations: 436.2 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.3885, allocations: 3.938 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.389, allocations: 180.8 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3892, allocations: 43.91 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.392, allocations: 2.379 MB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3924, allocations: 39.7 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3924, allocations: 11.95 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.3926, allocations: 229.1 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.3927, allocations: 39.53 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.3928, allocations: 48.16 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3928, allocations: 4 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3928, allocations: 0 / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3928, allocations: 0 / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3933, allocations: 421.6 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3933, allocations: 0 / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.3934, allocations: 31.98 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005869/0.394, allocations: 172.7 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3941, allocations: 4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.3969, allocations: 2.376 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3969, allocations: 3.984 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3979, allocations: 0.5424 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3981, allocations: 136.5 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.3981, allocations: 4 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3984, allocations: 23.92 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.3984, allocations: 27.94 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3985, allocations: 8 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002637/0.3987, allocations: 259.2 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3987, allocations: 3.938 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007392/0.3995, allocations: 259.6 kB / 1.08 GB, free: 14.32 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 (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.3996, allocations: 115.1 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.401, allocations: 0.7672 MB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.401, allocations: 0 / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.4016, allocations: 327.8 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.4022, allocations: 93.45 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.4035, allocations: 0.7882 MB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4039, allocations: 0.8116 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.4041, allocations: 39.27 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.4042, allocations: 23.44 kB / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.294e-06/0.4042, allocations: 0 / 1.083 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.0148/0.419, allocations: 7.71 MB / 1.09 GB, free: 3.645 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches