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.001749/0.001749, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002104/0.002104, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.922/2.922, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.394e-06/2.394e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.294e-05, allocations: 5.094 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001995/0.002028, allocations: 0.7209 MB / 0.9822 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004117, allocations: 1.174 MB / 0.9833 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.004183, allocations: 0 / 0.9833 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.004221, allocations: 3.938 kB / 0.9833 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.004322, allocations: 11.88 kB / 0.9833 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.004961, allocations: 143.5 kB / 0.9835 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.005206, allocations: 119.8 kB / 0.9836 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.005328, allocations: 11.98 kB / 0.9836 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.00549, allocations: 67.88 kB / 0.9836 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.005607, allocations: 39.94 kB / 0.9837 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.005643, allocations: 8 kB / 0.9837 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.005734, allocations: 31.92 kB / 0.9837 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.005764, allocations: 7.938 kB / 0.9837 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.005858, allocations: 35.95 kB / 0.9838 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.006128, allocations: 131.6 kB / 0.9839 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00613, allocations: 4 kB / 0.9839 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.006132, allocations: 0 / 0.9839 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.006138, allocations: 0 / 0.9839 GB, free: 8.422 MB / 0.8887 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.0007805/0.006918, allocations: 335.8 kB / 0.9842 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.006987, allocations: 8.031 kB / 0.9842 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.007053, allocations: 12.89 kB / 0.9842 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.007191, allocations: 117.7 kB / 0.9843 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.007209, allocations: 384 / 0.9843 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.007241, allocations: 8.375 kB / 0.9843 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.007485, allocations: 66.22 kB / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.007496, allocations: 192 / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.007509, allocations: 384 / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.00752, allocations: 4.359 kB / 0.9844 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.007728, allocations: 59.83 kB / 0.9845 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.008297, allocations: 264.3 kB / 0.9847 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.008497, allocations: 50.62 kB / 0.9848 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.008612, allocations: 36.95 kB / 0.9848 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.008625, allocations: 0 / 0.9848 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.008883, allocations: 95.23 kB / 0.9849 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.008884, allocations: 0 / 0.9849 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0004745/0.009358, allocations: 141.6 kB / 0.985 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.009407, allocations: 51.41 kB / 0.9851 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.00953, allocations: 121.8 kB / 0.9852 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.009565, allocations: 29.7 kB / 0.9852 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.00964, allocations: 92 kB / 0.9853 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.009669, allocations: 23.91 kB / 0.9853 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.009753, allocations: 41.7 kB / 0.9854 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.009917, allocations: 322.8 kB / 0.9857 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.01011, allocations: 81.61 kB / 0.9858 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.01032, allocations: 117.9 kB / 0.9859 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.01062, allocations: 150.2 kB / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01062, allocations: 0 / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004979/0.01112, allocations: 236.8 kB / 0.9862 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.01116, allocations: 43.97 kB / 0.9863 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01117, allocations: 0 / 0.9863 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.01119, allocations: 4 kB / 0.9863 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01129, allocations: 16.11 kB / 0.9863 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.0113, allocations: 4 kB / 0.9863 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.01151, allocations: 35.84 kB / 0.9863 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.01154, allocations: 11.98 kB / 0.9864 GB, free: 5.645 MB / 0.8887 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.0001196/0.01166, allocations: 125.8 kB / 0.9865 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.01168, allocations: 11.83 kB / 0.9865 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.01171, allocations: 12.44 kB / 0.9865 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01171, allocations: 0 / 0.9865 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01171, allocations: 4 kB / 0.9865 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.01172, allocations: 3.984 kB / 0.9865 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.01218, allocations: 306.2 kB / 0.9868 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01219, allocations: 3.984 kB / 0.9868 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.01225, allocations: 11.94 kB / 0.9868 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01225, allocations: 0 / 0.9868 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01226, allocations: 4 kB / 0.9868 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01226, allocations: 3.984 kB / 0.9868 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01226, allocations: 4 kB / 0.9868 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.01259, allocations: 207.4 kB / 0.987 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.01261, allocations: 7.953 kB / 0.987 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.01263, allocations: 4.062 kB / 0.987 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.01272, allocations: 11.98 kB / 0.987 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.01277, allocations: 7.984 kB / 0.9871 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01278, allocations: 3.984 kB / 0.9871 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.01285, allocations: 87.28 kB / 0.9871 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01285, allocations: 4 kB / 0.9871 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002795/0.01312, allocations: 35.92 kB / 0.9872 GB, free: 4.738 MB / 0.8887 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.0001726/0.0133, allocations: 99.19 kB / 0.9873 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.01373, allocations: 193 kB / 0.9875 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01373, allocations: 0 / 0.9875 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.01386, allocations: 31.97 kB / 0.9875 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.01415, allocations: 24.17 kB / 0.9875 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01456, allocations: 165.4 kB / 0.9877 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.01464, allocations: 71.33 kB / 0.9877 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.01467, allocations: 4 kB / 0.9877 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.0147, allocations: 12.5 kB / 0.9878 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of SimCode: time 4.3e-07/0.0147, allocations: 7.938 kB / 0.9878 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of Templates: time 0.00475/0.01945, allocations: 1.578 MB / 0.9893 GB, free: 2.535 MB / 0.8887 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: 8.314608812332153]