Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7404, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001696/0.7421, allocations: 0.8282 MB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.7436, allocations: 1.49 MB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.7437, allocations: 5.375 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.7438, allocations: 25.25 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.7438, allocations: 30.3 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.7449, allocations: 0.5273 MB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.7453, allocations: 481.2 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.7454, allocations: 30.28 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.7456, allocations: 174.3 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.7458, allocations: 175.9 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/0.7459, allocations: 45.25 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.746, allocations: 55.66 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.7461, allocations: 45.28 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.7462, allocations: 158.2 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.7466, allocations: 414 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7466, allocations: 1.094 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7466, allocations: 0 / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.7466, allocations: 3.938 kB / 1.276 GB, free: 5.223 MB / 0.9981 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.0005625/0.7472, allocations: 0.6488 MB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7472, allocations: 9.25 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.7472, allocations: 51.34 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.7473, allocations: 32.59 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.7476, allocations: 261.2 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.7476, allocations: 20.17 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.7477, allocations: 29.22 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.7479, allocations: 149.8 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7479, allocations: 3.938 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7479, allocations: 7.344 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7479, allocations: 6.625 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.748, allocations: 84.78 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.7487, allocations: 0.7034 MB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.7489, allocations: 166.6 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.7489, allocations: 40.72 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.7489, allocations: 6.328 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.7492, allocations: 160.6 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.7492, allocations: 0.875 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0005229/0.7497, allocations: 242.6 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7498, allocations: 60.56 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.7499, allocations: 189.8 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.75, allocations: 40.14 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.7501, allocations: 127.8 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.7501, allocations: 45.23 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.7504, allocations: 115.7 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.7504, allocations: 328.1 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.7508, allocations: 157.8 kB / 1.279 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.7511, allocations: 241.5 kB / 1.28 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.7516, allocations: 410.6 kB / 1.28 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7516, allocations: 4.938 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00107/0.7527, allocations: 0.6225 MB / 1.281 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7528, allocations: 165.2 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.7528, allocations: 3.359 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.7528, allocations: 3.969 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.7528, allocations: 16.33 kB / 1.281 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7528, allocations: 8.891 kB / 1.281 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.7536, allocations: 138.8 kB / 1.281 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.7537, allocations: 34.44 kB / 1.281 GB, free: 1.531 MB / 0.9981 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0001477/0.7539, allocations: 156.6 kB / 1.281 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.7539, allocations: 20.7 kB / 1.281 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.7539, allocations: 20.06 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7539, allocations: 0 / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7539, allocations: 2.953 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7539, allocations: 4.797 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.7545, allocations: 0.5044 MB / 1.282 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7545, allocations: 4.672 kB / 1.282 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.7545, allocations: 5.406 kB / 1.282 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7545, allocations: 0 / 1.282 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.7545, allocations: 9.281 kB / 1.282 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7545, allocations: 8.625 kB / 1.282 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7545, allocations: 0 / 1.282 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.7548, allocations: 285.5 kB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.7548, allocations: 97.12 kB / 1.282 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.7548, allocations: 8.484 kB / 1.282 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.7549, allocations: 5.359 kB / 1.282 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.755, allocations: 23.27 kB / 1.282 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.755, allocations: 8.953 kB / 1.282 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.755, allocations: 119.6 kB / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.755, allocations: 0 / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003423/0.7554, allocations: 77.06 kB / 1.282 GB, free: 0.5664 MB / 0.9981 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.000529/0.7559, allocations: 0.836 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007152/0.7566, allocations: 0.547 MB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.7566, allocations: 4.25 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.7567, allocations: 68.91 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.7571, allocations: 53.88 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.7607, allocations: 3.014 MB / 1.287 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.761, allocations: 0.7225 MB / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.675e-05/0.7611, allocations: 27.47 kB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.7612, allocations: 58.06 kB / 1.287 GB, free: 12.54 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.7612, allocations: 0 / 1.287 GB, free: 12.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.7906, allocations: 6.383 MB / 1.294 GB, free: 11.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.838, allocations: 4.578 kB / 1.294 GB, free: 11.8 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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: 13.155228689000069]