Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002514/0.002514, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003331/0.003331, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.891/2.891, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.302e-05/4.621e-05, allocations: 7.609 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003559/0.003606, allocations: 0.7424 MB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.005933, allocations: 1.175 MB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.006006, allocations: 0 / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.006042, allocations: 13.48 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.006148, allocations: 7.938 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.00681, allocations: 128.8 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.007081, allocations: 123.7 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.0072, allocations: 11.94 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.007395, allocations: 64.56 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007518, allocations: 41.28 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.007556, allocations: 8 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.007655, allocations: 19.98 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.00769, allocations: 15.98 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.007771, allocations: 36.75 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.008046, allocations: 127.6 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.008053, allocations: 4.562 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008054, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.008059, allocations: 0.6875 kB / 0.7888 GB, free: 10.26 MB / 0.7448 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.0008383/0.008898, allocations: 434.6 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.008948, allocations: 12.03 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.009028, allocations: 12.94 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.009178, allocations: 117.2 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.009202, allocations: 8.359 kB / 0.7894 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.009228, allocations: 5.969 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.009425, allocations: 58.23 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.009436, allocations: 192 / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.009447, allocations: 384 / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.009456, allocations: 5.219 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.009609, allocations: 39.27 kB / 0.7895 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.01023, allocations: 323.7 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.01042, allocations: 59.11 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.01051, allocations: 27.8 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01053, allocations: 3.938 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.01074, allocations: 92.97 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 4.519e-06/0.01074, allocations: 4.703 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004488/0.01119, allocations: 135.3 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.01125, allocations: 67.27 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01143, allocations: 181.9 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.01147, allocations: 29.7 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01158, allocations: 143.3 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.01162, allocations: 21.22 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.01182, allocations: 47.36 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002791/0.0121, allocations: 0.4923 MB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01228, allocations: 81.67 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.01251, allocations: 137.7 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.01278, allocations: 145.4 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.01278, allocations: 5.469 kB / 0.7914 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004872/0.01327, allocations: 246.2 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.01332, allocations: 43.66 kB / 0.7917 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01333, allocations: 0 / 0.7917 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01335, allocations: 4 kB / 0.7917 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.01344, allocations: 8.562 kB / 0.7917 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01345, allocations: 4.547 kB / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.01362, allocations: 29.3 kB / 0.7917 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.01364, allocations: 8 kB / 0.7918 GB, free: 7.008 MB / 0.7448 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 0.0001536/0.0138, allocations: 169.1 kB / 0.7919 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.01382, allocations: 17.42 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.01386, allocations: 8.438 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01386, allocations: 4 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01386, allocations: 0 / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01387, allocations: 0 / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.01437, allocations: 370.3 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01438, allocations: 0 / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.01442, allocations: 4.531 kB / 0.7923 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01442, allocations: 4.469 kB / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.01444, allocations: 8.953 kB / 0.7923 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.01444, allocations: 4 kB / 0.7923 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01444, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01478, allocations: 252.5 kB / 0.7926 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.0148, allocations: 16.69 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01482, allocations: 0 / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.01489, allocations: 13 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.01494, allocations: 3.984 kB / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.01495, allocations: 4 kB / 0.7926 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001034/0.01506, allocations: 140.6 kB / 0.7927 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 0 / 0.7927 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002784/0.01533, allocations: 24 kB / 0.7927 GB, free: 5.926 MB / 0.7448 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.0001965/0.01553, allocations: 104.2 kB / 0.7928 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.01596, allocations: 219 kB / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01596, allocations: 0 / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01608, allocations: 39.61 kB / 0.7931 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01639, allocations: 27.92 kB / 0.7931 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.01686, allocations: 174.8 kB / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.01694, allocations: 71.33 kB / 0.7934 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.01698, allocations: 4 kB / 0.7934 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.01701, allocations: 12.5 kB / 0.7934 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01701, allocations: 0.8125 kB / 0.7934 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.005706/0.02272, allocations: 1.584 MB / 0.7949 GB, free: 3.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.973989782040007]