Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008631/0.0008631, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008132/0.0008132, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.873/0.873, allocations: 177.1 MB / 203.5 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.8 MB / 0.6228 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 0 / 0.9822 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.373e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001434/0.001468, allocations: 0.7247 MB / 0.9829 GB, free: 216 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.00268, allocations: 1.178 MB / 0.9841 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.002727, allocations: 0 / 0.9841 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.002757, allocations: 3.938 kB / 0.9841 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.002826, allocations: 7.875 kB / 0.9841 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.003535, allocations: 143.8 kB / 0.9842 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003691, allocations: 123.7 kB / 0.9843 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003795, allocations: 12 kB / 0.9843 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003907, allocations: 71.86 kB / 0.9844 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.003988, allocations: 35.94 kB / 0.9844 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.00401, allocations: 8 kB / 0.9845 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.004069, allocations: 23.98 kB / 0.9845 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.004091, allocations: 11.94 kB / 0.9845 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.004144, allocations: 35.95 kB / 0.9845 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.00432, allocations: 127.7 kB / 0.9846 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004322, allocations: 7.875 kB / 0.9847 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.472e-06/0.004324, allocations: 0 / 0.9847 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.00433, allocations: 4 kB / 0.9847 GB, free: 14.42 MB / 0.9011 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.0004891/0.004819, allocations: 335.8 kB / 0.985 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004857, allocations: 8.031 kB / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.004907, allocations: 8.891 kB / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.004992, allocations: 117.7 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005005, allocations: 4.375 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.005024, allocations: 8.375 kB / 0.9851 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.005171, allocations: 62.22 kB / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005179, allocations: 192 / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.00519, allocations: 8.312 kB / 0.9852 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.005196, allocations: 4.375 kB / 0.9852 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.005298, allocations: 51.83 kB / 0.9852 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.005702, allocations: 256.4 kB / 0.9855 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.005839, allocations: 54.62 kB / 0.9855 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.005895, allocations: 28.95 kB / 0.9856 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.005906, allocations: 11.94 kB / 0.9856 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.006084, allocations: 91.36 kB / 0.9857 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.006086, allocations: 0 / 0.9857 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0003044/0.00639, allocations: 145.8 kB / 0.9858 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.006429, allocations: 51.41 kB / 0.9858 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.006502, allocations: 125.8 kB / 0.986 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.006522, allocations: 25.7 kB / 0.986 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.006569, allocations: 92.14 kB / 0.9861 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.006589, allocations: 23.84 kB / 0.9861 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.006648, allocations: 37.7 kB / 0.9861 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.006735, allocations: 322.8 kB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.006857, allocations: 77.67 kB / 0.9865 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.006973, allocations: 121.9 kB / 0.9866 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.007142, allocations: 141.9 kB / 0.9868 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.007146, allocations: 4 kB / 0.9868 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002862/0.007432, allocations: 236.8 kB / 0.987 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.007469, allocations: 45.62 kB / 0.987 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007475, allocations: 0 / 0.987 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007486, allocations: 4.125 kB / 0.9871 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.007552, allocations: 11.98 kB / 0.9871 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.007559, allocations: 4.062 kB / 0.9871 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.007678, allocations: 35.91 kB / 0.9871 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.007693, allocations: 11.92 kB / 0.9871 GB, free: 11.65 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.205e-05/0.007775, allocations: 128.7 kB / 0.9872 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.007786, allocations: 11.89 kB / 0.9872 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.00781, allocations: 16.38 kB / 0.9873 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007813, allocations: 4 kB / 0.9873 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.007818, allocations: 0 / 0.9873 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.007823, allocations: 3.984 kB / 0.9873 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.008133, allocations: 310.1 kB / 0.9876 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.008136, allocations: 3.984 kB / 0.9876 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.008165, allocations: 4 kB / 0.9876 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.008168, allocations: 4 kB / 0.9876 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008178, allocations: 4 kB / 0.9876 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00818, allocations: 7.984 kB / 0.9876 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008181, allocations: 0 / 0.9876 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.008358, allocations: 207.4 kB / 0.9878 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.008368, allocations: 3.953 kB / 0.9878 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008381, allocations: 4 kB / 0.9878 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.008429, allocations: 11.98 kB / 0.9878 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.008471, allocations: 7.922 kB / 0.9878 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.008479, allocations: 7.984 kB / 0.9878 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.008518, allocations: 91.28 kB / 0.9879 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.008518, allocations: 0 / 0.9879 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002024/0.00872, allocations: 31.92 kB / 0.9879 GB, free: 10.75 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000144/0.008864, allocations: 99.25 kB / 0.988 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.009134, allocations: 193 kB / 0.9882 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.009135, allocations: 4 kB / 0.9882 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.009205, allocations: 36.22 kB / 0.9883 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.009424, allocations: 19.92 kB / 0.9883 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.009776, allocations: 187.1 kB / 0.9885 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.484e-05/0.009831, allocations: 79.19 kB / 0.9885 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.00986, allocations: 16.44 kB / 0.9885 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of SimCode: time 9.82e-07/0.009861, allocations: 0 / 0.9885 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of Templates: time 0.002436/0.0123, allocations: 1.283 MB / 0.9898 GB, free: 8.777 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.388539390638471]