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.001045/0.001045, allocations: 90.83 kB / 16.02 MB, free: 80 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.001429/0.001429, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.000416, allocations: 15.08 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003598/0.3339, allocations: 2.644 MB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3357, allocations: 0.7713 MB / 1.063 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.3361, allocations: 7.938 kB / 1.063 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3364, allocations: 39.62 kB / 1.063 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.3369, allocations: 119.1 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.3375, allocations: 135.8 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.3382, allocations: 494.9 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.3386, allocations: 186 kB / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.3389, allocations: 171.2 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.3393, allocations: 187 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.3393, allocations: 20 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.3394, allocations: 16 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.3395, allocations: 67.62 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.3398, allocations: 216.6 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.3401, allocations: 303.4 kB / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3401, allocations: 0 / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3401, allocations: 0 / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3401, allocations: 0 / 1.065 GB, free: 15.62 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001299/0.3414, allocations: 0.6783 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3415, allocations: 15.97 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3416, allocations: 64.28 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.3421, allocations: 319.2 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3421, allocations: 29.38 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.3422, allocations: 36.38 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.3428, allocations: 389.2 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3428, allocations: 0 / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3429, allocations: 16 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3429, allocations: 8 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.3435, allocations: 278.4 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3453, allocations: 1.452 MB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.3459, allocations: 299.3 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.3463, allocations: 185.2 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.3464, allocations: 8.234 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3464, allocations: 42.67 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.3464, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.003008/0.3494, allocations: 0.8998 MB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3495, allocations: 59.41 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.3499, allocations: 361.7 kB / 1.07 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3499, allocations: 29.7 kB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3501, allocations: 216.2 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.3502, allocations: 90.66 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.3502, allocations: 29.7 kB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3503, allocations: 346.8 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3506, allocations: 96.52 kB / 1.07 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.3509, allocations: 171.9 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.3514, allocations: 262.6 kB / 1.071 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3514, allocations: 0 / 1.071 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001179/0.3526, allocations: 0.5014 MB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.3526, allocations: 125.3 kB / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3527, allocations: 4 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.3534, allocations: 182 kB / 1.071 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3536, allocations: 39.92 kB / 1.072 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.3569, allocations: 2.48 MB / 1.074 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.3572, allocations: 51.56 kB / 1.074 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3573, allocations: 8 kB / 1.074 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.3573, allocations: 7.938 kB / 1.074 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.3584, allocations: 444.2 kB / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3584, allocations: 0 / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.359, allocations: 182.4 kB / 1.075 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3592, allocations: 39.91 kB / 1.075 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.362, allocations: 2.386 MB / 1.077 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.3624, allocations: 43.61 kB / 1.077 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3624, allocations: 12 kB / 1.077 GB, free: 2.207 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.0001982/0.3627, allocations: 225.2 kB / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.3627, allocations: 39.53 kB / 1.077 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3628, allocations: 48.16 kB / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3629, allocations: 7.938 kB / 1.077 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3629, allocations: 7.875 kB / 1.077 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3629, allocations: 3.984 kB / 1.077 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.3633, allocations: 413.6 kB / 1.078 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3634, allocations: 0 / 1.078 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.3635, allocations: 27.98 kB / 1.078 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/0.3641, allocations: 176.6 kB / 1.078 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3641, allocations: 4 kB / 1.078 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.367, allocations: 2.387 MB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.367, allocations: 0 / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3681, allocations: 0.5463 MB / 1.081 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3682, allocations: 136.5 kB / 1.081 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.3683, allocations: 12 kB / 1.081 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3686, allocations: 23.91 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3686, allocations: 27.91 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3687, allocations: 4 kB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002614/0.3689, allocations: 263.2 kB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3689, allocations: 0 / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007679/0.3697, allocations: 255.6 kB / 1.081 GB, free: 13.39 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.0001299/0.3698, allocations: 111.2 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.3714, allocations: 0.7796 MB / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3714, allocations: 0 / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.3719, allocations: 335.5 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3725, allocations: 104.3 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3739, allocations: 0.85 MB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3742, allocations: 0.8075 MB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.3743, allocations: 23.44 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3743, allocations: 0 / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.008327/0.3826, allocations: 5.947 MB / 1.09 GB, free: 4.367 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