Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001543/0.001543, allocations: 110.7 kB / 15.99 MB, free: 6.367 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.001549/0.001549, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.449/1.449, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 482.4 MB / 0.755 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.61 kB / 0.924 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8199, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001847/0.8218, allocations: 0.7601 MB / 1.083 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.8227, allocations: 0.8363 MB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.8227, allocations: 5.031 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.8228, allocations: 8.641 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.8229, allocations: 6.688 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.823, allocations: 26.11 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.8231, allocations: 56.84 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8233, allocations: 19.62 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.8234, allocations: 24.38 kB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.8234, allocations: 37.34 kB / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.8235, allocations: 5 kB / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.8235, allocations: 5.719 kB / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.8235, allocations: 10.95 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.8236, allocations: 25.52 kB / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.8237, allocations: 47.55 kB / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.8237, allocations: 0 / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8237, allocations: 0 / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8237, allocations: 0 / 1.084 GB, free: 384 kB / 0.8262 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.0004304/0.8241, allocations: 372.7 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.8242, allocations: 9.562 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.8242, allocations: 7.781 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.8245, allocations: 195.5 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.8245, allocations: 2.938 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.8245, allocations: 7.156 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.8247, allocations: 54.83 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8247, allocations: 0.9375 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.8247, allocations: 3.938 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8247, allocations: 6.078 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.8248, allocations: 29.48 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.8253, allocations: 293.1 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.8256, allocations: 76.28 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.8257, allocations: 17.67 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.8257, allocations: 1.125 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.8257, allocations: 35.94 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8257, allocations: 0 / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002653/0.826, allocations: 75.38 kB / 1.085 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.8261, allocations: 56.25 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8262, allocations: 124 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.8262, allocations: 31.02 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.18e-05/0.8263, allocations: 100.5 kB / 1.086 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.8263, allocations: 9.906 kB / 1.086 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.8264, allocations: 19.47 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8265, allocations: 319.8 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.8266, allocations: 16.83 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.8267, allocations: 31.31 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.8268, allocations: 34.59 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8268, allocations: 1.438 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.8269, allocations: 61.94 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.827, allocations: 4.562 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.827, allocations: 0 / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.827, allocations: 5.094 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.8271, allocations: 6.391 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.8271, allocations: 1.125 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.8271, allocations: 8.734 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.8272, allocations: 5.656 kB / 1.086 GB, free: 14.54 MB / 0.8419 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.8273, allocations: 112.7 kB / 1.086 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.8273, allocations: 6.438 kB / 1.086 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.8273, allocations: 11.3 kB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8273, allocations: 5.125 kB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8273, allocations: 3.938 kB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8274, allocations: 1.969 kB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.8276, allocations: 177.5 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8276, allocations: 1.031 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.8276, allocations: 4.656 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8276, allocations: 1.281 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.8277, allocations: 0.7031 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8277, allocations: 1.703 kB / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8277, allocations: 0 / 1.086 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.8279, allocations: 162.5 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.8279, allocations: 80.58 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.828, allocations: 5.688 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.8281, allocations: 9.812 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.8281, allocations: 10.06 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.8281, allocations: 1.75 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.8282, allocations: 93.64 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8282, allocations: 9.062 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002343/0.8284, allocations: 15.41 kB / 1.087 GB, free: 13.85 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001061/0.8286, allocations: 98.58 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.8287, allocations: 34.28 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8287, allocations: 0 / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.8288, allocations: 20.09 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8291, allocations: 16.11 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.8296, allocations: 195.4 kB / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.83, allocations: 0.685 MB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.83, allocations: 15.7 kB / 1.088 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.83, allocations: 0 / 1.088 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of Templates: time 0.002473/0.8325, allocations: 0.8481 MB / 1.089 GB, free: 12.78 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches