Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001417/0.001417, allocations: 168.7 kB / 15.95 MB, free: 204 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 8 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.7558, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001122/0.757, allocations: 420.6 kB / 0.9548 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.7582, allocations: 0.8395 MB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.7583, allocations: 1 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.7583, allocations: 0 / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7585, allocations: 13.89 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.7587, allocations: 19.02 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.7588, allocations: 47.95 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.7589, allocations: 15.42 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.7591, allocations: 20.16 kB / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-05/0.7592, allocations: 22.77 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.7592, allocations: 2.5 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.7592, allocations: 9 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.7592, allocations: 13.23 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.7593, allocations: 33.27 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.579e-05/0.7594, allocations: 46.42 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7594, allocations: 0 / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7594, allocations: 1.531 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7594, allocations: 0 / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005129/0.7599, allocations: 363.3 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.76, allocations: 9.406 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.76, allocations: 10.92 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.7603, allocations: 189.4 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.7604, allocations: 6.375 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.7604, allocations: 6.062 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.7606, allocations: 57.11 kB / 0.9565 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7606, allocations: 4 kB / 0.9565 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7606, allocations: 1.562 kB / 0.9565 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7606, allocations: 0 / 0.9565 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.7607, allocations: 43.55 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.7613, allocations: 300.8 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.7616, allocations: 83.69 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.7617, allocations: 21.69 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.7617, allocations: 1.062 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.7618, allocations: 39.77 kB / 0.957 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.7618, allocations: 0 / 0.957 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000313/0.7621, allocations: 79.58 kB / 0.957 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.7621, allocations: 51.41 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.7623, allocations: 126.2 kB / 0.9572 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7623, allocations: 25.7 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.7624, allocations: 103.2 kB / 0.9573 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.7624, allocations: 11.42 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.7624, allocations: 0 / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.7625, allocations: 315.8 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.7625, allocations: 22.2 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.7626, allocations: 29.17 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.7627, allocations: 13.41 kB / 0.9577 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7627, allocations: 0 / 0.9577 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001579/0.7628, allocations: 79.11 kB / 0.9578 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.7629, allocations: 10.05 kB / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7629, allocations: 4 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7629, allocations: 0 / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.763, allocations: 5.562 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.763, allocations: 0 / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.7631, allocations: 16.55 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.7631, allocations: 1.188 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.7632, allocations: 119.8 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.7632, allocations: 2.281 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.7633, allocations: 17.09 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7633, allocations: 1.031 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.7633, allocations: 0 / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7633, allocations: 5.031 kB / 0.958 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.7634, allocations: 174.8 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7635, allocations: 0.9688 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.7635, allocations: 9.422 kB / 0.9581 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.7635, allocations: 4 kB / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7635, allocations: 5.25 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7635, allocations: 3.953 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7636, allocations: 0 / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.7637, allocations: 155.2 kB / 0.9583 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.7638, allocations: 83.58 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.7638, allocations: 7.984 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.7639, allocations: 6.766 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.764, allocations: 15.11 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.764, allocations: 1.094 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.764, allocations: 97.39 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.764, allocations: 0 / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002283/0.7643, allocations: 6.562 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.7644, allocations: 109.2 kB / 0.9586 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.7646, allocations: 40.53 kB / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7646, allocations: 0 / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.7646, allocations: 20.2 kB / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.765, allocations: 10.22 kB / 0.9587 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.7654, allocations: 179.2 kB / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.7655, allocations: 0.6907 MB / 0.9595 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.956e-05/0.7656, allocations: 7.688 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.7656, allocations: 9.406 kB / 0.9595 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7656, allocations: 0 / 0.9595 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.003424/0.7691, allocations: 0.5777 MB / 0.9601 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches