Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.001808/0.001808, allocations: 106.7 kB / 16.45 MB, free: 6.508 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.001908/0.001908, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 443.5 MB / 0.7287 GB, free: 13.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.88 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8085, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002148/0.8106, allocations: 0.7228 MB / 1.214 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.8125, allocations: 1.264 MB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.8126, allocations: 5.031 kB / 1.215 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.8126, allocations: 3.938 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.8127, allocations: 23.16 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.8137, allocations: 306.9 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.814, allocations: 261.8 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.8141, allocations: 13.58 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.8143, allocations: 95.12 kB / 1.216 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.8145, allocations: 96.22 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.8146, allocations: 23 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.8147, allocations: 39.89 kB / 1.216 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.8147, allocations: 21.23 kB / 1.216 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.8148, allocations: 87.27 kB / 1.216 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.8151, allocations: 219.2 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8151, allocations: 0 / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8151, allocations: 0 / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8151, allocations: 1.094 kB / 1.216 GB, free: 1.586 MB / 0.92 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.0006744/0.8158, allocations: 0.4936 MB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8159, allocations: 13.88 kB / 1.217 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.8159, allocations: 36.56 kB / 1.217 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.816, allocations: 15.17 kB / 1.217 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.8162, allocations: 174.7 kB / 1.217 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.8162, allocations: 10.17 kB / 1.217 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.8162, allocations: 18.16 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.8164, allocations: 63.12 kB / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.8164, allocations: 0 / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.8164, allocations: 1.188 kB / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8164, allocations: 1.062 kB / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.8164, allocations: 22.36 kB / 1.217 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.8171, allocations: 410.6 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.8172, allocations: 30.69 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.8172, allocations: 23.91 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.8172, allocations: 0 / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.8175, allocations: 105.2 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.8175, allocations: 0 / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003271/0.8178, allocations: 133.1 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.8178, allocations: 61.55 kB / 1.218 GB, free: 68 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.818, allocations: 137 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.818, allocations: 35.11 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.8181, allocations: 96.2 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.8182, allocations: 23.19 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.8183, allocations: 66.45 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.8185, allocations: 330.2 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.8187, allocations: 88.86 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.8189, allocations: 143 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.8192, allocations: 228.2 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.8192, allocations: 1.031 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006375/0.8198, allocations: 384.1 kB / 1.219 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.8199, allocations: 101.5 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8199, allocations: 1.219 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8199, allocations: 2.875 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.042e-05/0.82, allocations: 7.156 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.82, allocations: 6.141 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.8205, allocations: 86.73 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.8205, allocations: 17.7 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001428/0.8207, allocations: 134.8 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.8207, allocations: 8.047 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.8207, allocations: 9.344 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.8207, allocations: 2.344 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8207, allocations: 3.984 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8207, allocations: 0 / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.8209, allocations: 193.7 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8209, allocations: 1.312 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.821, allocations: 5.219 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.821, allocations: 5.141 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.821, allocations: 2.094 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.821, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.821, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.8212, allocations: 139 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.8213, allocations: 92.11 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.8214, allocations: 1.25 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.8214, allocations: 5.219 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.8214, allocations: 8.328 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.8214, allocations: 7.438 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.8215, allocations: 101.2 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8215, allocations: 0.9688 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00028/0.8218, allocations: 50.52 kB / 1.22 GB, free: 13.97 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007568/0.8225, allocations: 0.6865 MB / 1.221 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.823, allocations: 320.8 kB / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.823, allocations: 0 / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.8231, allocations: 31.12 kB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.8234, allocations: 31.22 kB / 1.221 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.8263, allocations: 2.065 MB / 1.223 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.8268, allocations: 0.6927 MB / 1.224 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.8268, allocations: 18.09 kB / 1.224 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.8269, allocations: 24.31 kB / 1.224 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.8269, allocations: 288 / 1.224 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.8565, allocations: 3.841 MB / 1.227 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.923, allocations: 9.906 kB / 1.227 GB, free: 8.555 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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: 14.884276408236474]