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.0009861/0.0009861, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001499/0.001499, allocations: 165 kB / 23.82 MB, free: 0.75 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.9445/0.9445, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.889/1.889, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|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.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.645e-05, allocations: 7.031 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001597/0.001623, allocations: 0.8367 MB / 0.8124 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003135, allocations: 1.538 MB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.003215, allocations: 0.7812 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003338, allocations: 23.73 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.003403, allocations: 37.31 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.004392, allocations: 0.5061 MB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.004877, allocations: 475.1 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.005001, allocations: 27.2 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.005235, allocations: 255.7 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.005418, allocations: 151.6 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.005474, allocations: 40 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.00557, allocations: 57.14 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.005622, allocations: 39.89 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.005744, allocations: 135.8 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.006074, allocations: 356.5 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006077, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.275e-06/0.00608, allocations: 4 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.006085, allocations: 0 / 0.8159 GB, free: 13.29 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.0008567/0.006942, allocations: 0.6738 MB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.00698, allocations: 12.03 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.007073, allocations: 40.8 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.007299, allocations: 200.3 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.00732, allocations: 16.38 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.007361, allocations: 29.06 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.007527, allocations: 122.4 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.007536, allocations: 192 / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.00755, allocations: 8.359 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.00756, allocations: 4.938 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.007628, allocations: 49.08 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.008212, allocations: 0.6504 MB / 0.8176 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.00834, allocations: 85.81 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.008381, allocations: 31.61 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.008388, allocations: 0 / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.008542, allocations: 147.3 kB / 0.8179 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.008543, allocations: 0 / 0.8179 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003223/0.008865, allocations: 213.9 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.008899, allocations: 56.12 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.009029, allocations: 242.7 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.009064, allocations: 38.23 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.009149, allocations: 183.3 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.009174, allocations: 41.34 kB / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.009303, allocations: 127.3 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.009417, allocations: 0.4923 MB / 0.8192 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.009665, allocations: 280.4 kB / 0.8195 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.009949, allocations: 401.7 kB / 0.8199 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01025, allocations: 411.1 kB / 0.8203 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01025, allocations: 0 / 0.8203 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006773/0.01093, allocations: 0.7532 MB / 0.821 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.011, allocations: 160.5 kB / 0.8212 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01101, allocations: 4 kB / 0.8212 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01103, allocations: 6.781 kB / 0.8212 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.537e-05/0.01105, allocations: 8 kB / 0.8212 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01106, allocations: 11.92 kB / 0.8212 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.01139, allocations: 113.2 kB / 0.8213 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.01143, allocations: 27.98 kB / 0.8213 GB, free: 7.199 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.0001264/0.01155, allocations: 195 kB / 0.8215 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01158, allocations: 21.78 kB / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.01161, allocations: 21.8 kB / 0.8216 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01161, allocations: 0 / 0.8216 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.01161, allocations: 0 / 0.8216 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01162, allocations: 3.938 kB / 0.8216 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.01198, allocations: 480.9 kB / 0.822 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01198, allocations: 0 / 0.822 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.01199, allocations: 7.984 kB / 0.822 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.012, allocations: 0 / 0.822 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01201, allocations: 5.094 kB / 0.822 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01201, allocations: 3.938 kB / 0.822 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01201, allocations: 0 / 0.822 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.01221, allocations: 320.3 kB / 0.8223 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.01222, allocations: 11.91 kB / 0.8224 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01224, allocations: 4.656 kB / 0.8224 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.01228, allocations: 19.61 kB / 0.8224 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.01232, allocations: 15.97 kB / 0.8224 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01233, allocations: 11.94 kB / 0.8224 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.01239, allocations: 160.2 kB / 0.8226 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01239, allocations: 0 / 0.8226 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002599/0.01265, allocations: 83.92 kB / 0.8226 GB, free: 5.809 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.0001428/0.0128, allocations: 104.7 kB / 0.8227 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008016/0.0136, allocations: 0.6825 MB / 0.8234 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0136, allocations: 1.031 kB / 0.8234 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.01367, allocations: 60.62 kB / 0.8235 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01395, allocations: 54.17 kB / 0.8235 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01438, allocations: 314 kB / 0.8238 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.01442, allocations: 72 kB / 0.8239 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.01447, allocations: 24.94 kB / 0.8239 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.0145, allocations: 20.5 kB / 0.8239 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01451, allocations: 0 / 0.8239 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.007145/0.02165, allocations: 5.569 MB / 0.8294 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","",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.2303398586809635]