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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001293/0.001293, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.00111/0.00111, allocations: 187 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 0.9515 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8142, allocations: 140.4 MB / 1.089 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001801/0.8161, allocations: 0.7004 MB / 1.089 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.8169, allocations: 0.8503 MB / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.817, allocations: 1.094 kB / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.817, allocations: 5.109 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.8171, allocations: 10.28 kB / 1.09 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.8173, allocations: 20.42 kB / 1.09 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.8174, allocations: 57.5 kB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.8175, allocations: 23.52 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.8176, allocations: 33.03 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.8177, allocations: 24.67 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.8177, allocations: 5.438 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.8178, allocations: 5.25 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.8178, allocations: 11.02 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.8178, allocations: 32.92 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.818, allocations: 65.75 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.818, allocations: 4.812 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.818, allocations: 0 / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.818, allocations: 0 / 1.09 GB, free: 4.582 MB / 0.8575 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.0004094/0.8184, allocations: 366.2 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8185, allocations: 9.781 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.8185, allocations: 8.828 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.8187, allocations: 198.1 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8188, allocations: 7.047 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.8188, allocations: 7.125 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8189, allocations: 55.8 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8189, allocations: 4.172 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8189, allocations: 4.734 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.819, allocations: 0.9688 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.8191, allocations: 29.36 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.8194, allocations: 301.4 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.8197, allocations: 67.94 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.8198, allocations: 18.73 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.8198, allocations: 0 / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.8198, allocations: 36.17 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.8198, allocations: 0 / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002486/0.8201, allocations: 75.19 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.8201, allocations: 52.16 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.8202, allocations: 123.5 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.8202, allocations: 31.77 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.8203, allocations: 92.06 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.8203, allocations: 7.484 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.8203, allocations: 22.14 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.8204, allocations: 322.8 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.8205, allocations: 14.94 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.8205, allocations: 26.08 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.8206, allocations: 31.27 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8206, allocations: 4 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.8208, allocations: 74.27 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8208, allocations: 5.094 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8208, allocations: 1.344 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8208, allocations: 0.6094 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.8209, allocations: 6.266 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8209, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.8209, allocations: 8.562 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8209, allocations: 1.188 kB / 1.092 GB, free: 2.758 MB / 0.8575 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 5.699e-05/0.821, allocations: 127 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.821, allocations: 6.594 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.8211, allocations: 11.61 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8211, allocations: 3.938 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8211, allocations: 0.7969 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.8211, allocations: 1.609 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.8212, allocations: 178.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8213, allocations: 0.7031 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.8213, allocations: 4.875 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8213, allocations: 1.062 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.8213, allocations: 4.797 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8213, allocations: 1.672 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8213, allocations: 3.984 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.8215, allocations: 158.6 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.8215, allocations: 79.81 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.8215, allocations: 1.594 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.8216, allocations: 10.08 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.8217, allocations: 14.67 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.8217, allocations: 1.859 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.8217, allocations: 101.6 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8217, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002232/0.822, allocations: 15.38 kB / 1.093 GB, free: 2.055 MB / 0.8575 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 7.157e-05/0.822, allocations: 95.42 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.8222, allocations: 37.55 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8222, allocations: 0.6875 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.8223, allocations: 16.33 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8226, allocations: 10.34 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.8229, allocations: 185.7 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.823, allocations: 0.6848 MB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.8231, allocations: 20.45 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8231, allocations: 0 / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of Templates: time 0.002539/0.8256, allocations: 0.8476 MB / 1.095 GB, free: 1.012 MB / 0.8575 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/jenkins1/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