Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001881/0.001881, 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.001949/0.001949, 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 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 3.015/3.015, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.422e-05, allocations: 3.062 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002742/0.002776, allocations: 0.8249 MB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.005198, allocations: 1.507 MB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.005282, allocations: 0 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.005438, allocations: 28.39 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.005528, allocations: 36.53 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.006826, allocations: 0.5069 MB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00069/0.007516, allocations: 475.1 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.007669, allocations: 25.67 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.008024, allocations: 253.2 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.008332, allocations: 155.5 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.008432, allocations: 43.94 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.008569, allocations: 52 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.008652, allocations: 44.52 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.00887, allocations: 135.8 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.009555, allocations: 491.8 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.00956, allocations: 0 / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009562, allocations: 0 / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.009567, allocations: 0.7188 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001012/0.01058, allocations: 0.6718 MB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.01062, allocations: 13.31 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01076, allocations: 44.78 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.01119, allocations: 204.3 kB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.01123, allocations: 17 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.0113, allocations: 32.38 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.01157, allocations: 130.7 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01158, allocations: 4.188 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.0116, allocations: 4.375 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01161, allocations: 5.125 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.01173, allocations: 52.56 kB / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.01281, allocations: 0.6789 MB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.013, allocations: 87.05 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.0131, allocations: 41.55 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01311, allocations: 4 kB / 0.8172 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.01339, allocations: 162.9 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.01339, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0005472/0.01394, allocations: 248.4 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.014, allocations: 59.33 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.01428, allocations: 266.7 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.01434, allocations: 37.7 kB / 0.8179 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01451, allocations: 179.4 kB / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.01483, allocations: 51.67 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.01509, allocations: 134.7 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003222/0.01541, allocations: 0.5079 MB / 0.8188 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.01595, allocations: 340.4 kB / 0.8191 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/0.01661, allocations: 461.2 kB / 0.8195 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.01725, allocations: 456.6 kB / 0.82 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01725, allocations: 0.5625 kB / 0.82 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001374/0.01862, allocations: 0.8444 MB / 0.8208 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.01877, allocations: 168.5 kB / 0.821 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.01878, allocations: 5.969 kB / 0.821 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.0188, allocations: 4 kB / 0.821 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.01884, allocations: 7.938 kB / 0.821 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.01885, allocations: 7.938 kB / 0.821 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.01949, allocations: 113.9 kB / 0.8211 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.01957, allocations: 41.38 kB / 0.8211 GB, free: 7.008 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002208/0.01979, allocations: 194.9 kB / 0.8213 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01983, allocations: 19.91 kB / 0.8213 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.01988, allocations: 21.8 kB / 0.8214 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01989, allocations: 5.375 kB / 0.8214 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01989, allocations: 0 / 0.8214 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.0199, allocations: 3.938 kB / 0.8214 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.02058, allocations: 0.4939 MB / 0.8218 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02059, allocations: 0 / 0.8218 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.02061, allocations: 11.92 kB / 0.8219 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.02061, allocations: 0 / 0.8219 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.02063, allocations: 8 kB / 0.8219 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.02064, allocations: 7.922 kB / 0.8219 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.02064, allocations: 3.984 kB / 0.8219 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.02106, allocations: 345.4 kB / 0.8222 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.02108, allocations: 15.86 kB / 0.8222 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.02111, allocations: 4 kB / 0.8222 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.02118, allocations: 7.938 kB / 0.8222 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.02124, allocations: 16.91 kB / 0.8223 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.02127, allocations: 15.98 kB / 0.8223 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001363/0.0214, allocations: 173.1 kB / 0.8224 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0214, allocations: 0 / 0.8224 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003821/0.02179, allocations: 83.94 kB / 0.8225 GB, free: 5.539 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002164/0.022, allocations: 110.9 kB / 0.8226 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.02311, allocations: 0.8148 MB / 0.8234 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02312, allocations: 0.5312 kB / 0.8234 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.02325, allocations: 82.5 kB / 0.8235 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.02368, allocations: 42.52 kB / 0.8235 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.0244, allocations: 335.2 kB / 0.8239 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.02454, allocations: 114.8 kB / 0.824 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.038e-05/0.02461, allocations: 25 kB / 0.824 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.02466, allocations: 20.5 kB / 0.824 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.02466, allocations: 0 / 0.824 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of Templates: time 0.01055/0.0352, allocations: 5.09 MB / 0.829 GB, free: 14.91 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.221874612034298]