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.001607/0.001607, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001811/0.001811, allocations: 167.4 kB / 24.86 MB, free: 9.242 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.9817/0.9817, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.925/1.925, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 177] 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.256e-06/3.256e-06, allocations: 7.922 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/3.029e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001555/0.001585, allocations: 0.7608 MB / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.002985, allocations: 1.192 MB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.003034, allocations: 4 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.003061, allocations: 3.938 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.003133, allocations: 13.31 kB / 0.7903 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.003549, allocations: 135.5 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.003697, allocations: 116.7 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.003779, allocations: 11.97 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.003891, allocations: 65.05 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.003971, allocations: 35.88 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003994, allocations: 12 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.004053, allocations: 28.67 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.004075, allocations: 11.98 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.004123, allocations: 37.41 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.00427, allocations: 95.69 kB / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.004273, allocations: 0 / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004274, allocations: 0 / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004278, allocations: 3.156 kB / 0.7908 GB, free: 9.711 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.000411/0.004689, allocations: 426.1 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004725, allocations: 16.02 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.004769, allocations: 12.89 kB / 0.7912 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.004849, allocations: 116.6 kB / 0.7913 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.00486, allocations: 384 / 0.7913 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004876, allocations: 8.375 kB / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.004986, allocations: 66.92 kB / 0.7914 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004992, allocations: 1.25 kB / 0.7914 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.005, allocations: 384 / 0.7914 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005006, allocations: 8.312 kB / 0.7914 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.005038, allocations: 12.52 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.005355, allocations: 293.5 kB / 0.7917 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.005442, allocations: 43.05 kB / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.005461, allocations: 17.31 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.00547, allocations: 3.984 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.005571, allocations: 77.22 kB / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.005573, allocations: 1.531 kB / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001763/0.005749, allocations: 101.5 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.005781, allocations: 51.41 kB / 0.792 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.005859, allocations: 177.8 kB / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.00588, allocations: 35.33 kB / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.005937, allocations: 138.8 kB / 0.7923 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.005956, allocations: 23.81 kB / 0.7923 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.006016, allocations: 43.34 kB / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006135, allocations: 0.4884 MB / 0.7929 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.006199, allocations: 55.84 kB / 0.7929 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.006562, allocations: 104.1 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.006667, allocations: 116.9 kB / 0.7931 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.006671, allocations: 0 / 0.7931 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002088/0.00688, allocations: 198.1 kB / 0.7933 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.006915, allocations: 43.28 kB / 0.7934 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.006921, allocations: 3.938 kB / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006931, allocations: 4 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.007, allocations: 11.94 kB / 0.7934 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007004, allocations: 4.609 kB / 0.7934 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.007098, allocations: 20.86 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.007113, allocations: 12 kB / 0.7934 GB, free: 6.746 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 8.493e-05/0.007198, allocations: 163.4 kB / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007213, allocations: 12.58 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.007237, allocations: 16.38 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.007239, allocations: 1.438 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007243, allocations: 4 kB / 0.7936 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007247, allocations: 0 / 0.7936 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.007483, allocations: 319 kB / 0.7939 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007485, allocations: 4 kB / 0.7939 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.007514, allocations: 8 kB / 0.7939 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007517, allocations: 4.75 kB / 0.7939 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.007523, allocations: 3.938 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007524, allocations: 0.5312 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007525, allocations: 0 / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.007644, allocations: 232.6 kB / 0.7941 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.007652, allocations: 4 kB / 0.7941 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.007665, allocations: 5.969 kB / 0.7941 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.007705, allocations: 7.984 kB / 0.7942 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.007737, allocations: 7.984 kB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.007742, allocations: 4 kB / 0.7942 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.007782, allocations: 131.2 kB / 0.7943 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007782, allocations: 4.594 kB / 0.7943 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002125/0.007995, allocations: 24 kB / 0.7943 GB, free: 5.758 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.000119/0.008114, allocations: 97.75 kB / 0.7944 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.00828, allocations: 156.7 kB / 0.7946 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008282, allocations: 4 kB / 0.7946 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.008316, allocations: 25.41 kB / 0.7946 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.008511, allocations: 16.8 kB / 0.7946 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.008785, allocations: 175.2 kB / 0.7948 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.008822, allocations: 59.91 kB / 0.7948 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.008844, allocations: 4.719 kB / 0.7948 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.00893, allocations: 94.8 kB / 0.7949 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.00893, allocations: 0 / 0.7949 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.003444/0.01237, allocations: 1.762 MB / 0.7966 GB, free: 3.348 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.231472979765385]