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.0015/0.0015, allocations: 100.1 kB / 15.88 MB, free: 12 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.001716/0.001716, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.52 kB / 0.899 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004768/0.2963, allocations: 3.031 MB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2977, allocations: 0.7791 MB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.2981, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.2983, allocations: 39.62 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.2988, allocations: 119.1 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.2993, allocations: 139.8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.2999, allocations: 498.9 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.3002, allocations: 190 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.3006, allocations: 191.2 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.3009, allocations: 218.9 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.301, allocations: 24 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.3011, allocations: 28 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3012, allocations: 83.67 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.3014, allocations: 210.8 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.3018, allocations: 311.5 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3018, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3018, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.3018, allocations: 0 / 1.058 GB, free: 2.406 MB / 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.001437/0.3032, allocations: 0.7405 MB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3033, allocations: 15.97 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3034, allocations: 52.38 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3038, allocations: 319.2 kB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3039, allocations: 25.38 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.3039, allocations: 36.38 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3046, allocations: 381.2 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3046, allocations: 0 / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.3047, allocations: 16 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3047, allocations: 8 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.3053, allocations: 278.3 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.3074, allocations: 1.452 MB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.308, allocations: 279.3 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.3084, allocations: 184 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3085, allocations: 240 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3085, allocations: 42.73 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/0.3085, allocations: 4 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002923/0.3114, allocations: 0.8795 MB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3115, allocations: 55.41 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3119, allocations: 365.6 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3119, allocations: 33.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.312, allocations: 212.2 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.3121, allocations: 90.66 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.3122, allocations: 53.98 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3124, allocations: 346.8 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3126, allocations: 101.9 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3128, allocations: 155.9 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.3133, allocations: 258.5 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3133, allocations: 0 / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001153/0.3145, allocations: 0.4935 MB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3145, allocations: 4 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3145, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007863/0.3153, allocations: 186.4 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.3155, allocations: 35.98 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.3189, allocations: 2.485 MB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.3192, allocations: 47.66 kB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3193, allocations: 8 kB / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003197/0.3196, allocations: 212.6 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002521/0.3199, allocations: 163.3 kB / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004472/0.3203, allocations: 257 kB / 1.068 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.3203, allocations: 4 kB / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.00112/0.3215, allocations: 497.6 kB / 1.069 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.3215, allocations: 4 kB / 1.069 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3215, allocations: 4 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.3221, allocations: 180.8 kB / 1.069 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3223, allocations: 31.98 kB / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3252, allocations: 2.39 MB / 1.071 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.3255, allocations: 35.72 kB / 1.071 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3256, allocations: 8 kB / 1.071 GB, free: 4.43 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3257, allocations: 188.3 kB / 1.072 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.3258, allocations: 43.53 kB / 1.072 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.3259, allocations: 56.09 kB / 1.072 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3259, allocations: 4 kB / 1.072 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3259, allocations: 0 / 1.072 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3259, allocations: 3.984 kB / 1.072 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3264, allocations: 413.6 kB / 1.072 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3264, allocations: 0 / 1.072 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3265, allocations: 27.92 kB / 1.072 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.3272, allocations: 174.6 kB / 1.072 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3272, allocations: 11.94 kB / 1.072 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.3301, allocations: 2.389 MB / 1.075 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3301, allocations: 0 / 1.075 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3312, allocations: 0.5345 MB / 1.075 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3313, allocations: 140.5 kB / 1.075 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.3314, allocations: 0 / 1.075 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3316, allocations: 19.89 kB / 1.075 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.3317, allocations: 23.97 kB / 1.075 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.3317, allocations: 8 kB / 1.075 GB, free: 184 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002619/0.332, allocations: 263.2 kB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.332, allocations: 0 / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006839/0.3327, allocations: 259.7 kB / 1.076 GB, free: 15.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.3328, allocations: 103.2 kB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.3343, allocations: 0.7716 MB / 1.077 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3343, allocations: 0 / 1.077 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.3348, allocations: 326.7 kB / 1.077 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3354, allocations: 86.66 kB / 1.077 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3367, allocations: 0.8378 MB / 1.078 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3371, allocations: 0.8152 MB / 1.079 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.3372, allocations: 27.44 kB / 1.079 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3372, allocations: 0 / 1.079 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.008468/0.3456, allocations: 6.006 MB / 1.085 GB, free: 6.621 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/jenkins1/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