Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001248/0.001248, allocations: 104.5 kB / 16.45 MB, free: 6.445 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.001278/0.001278, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.555/1.555, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.686/2.686, allocations: 443.5 MB / 0.7287 GB, free: 14.64 MB / 0.5762 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.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.88 kB / 1.056 GB, free: 2.527 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 160.7 MB / 1.213 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001909/0.3369, allocations: 0.661 MB / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3385, allocations: 1.191 MB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.3386, allocations: 4 kB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.3386, allocations: 7.875 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.3387, allocations: 15.86 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.3393, allocations: 215.4 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3395, allocations: 171.8 kB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.3396, allocations: 8 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3397, allocations: 71.88 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3398, allocations: 67.77 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3399, allocations: 16 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.34, allocations: 27.94 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.34, allocations: 7.984 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.3401, allocations: 59.81 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3403, allocations: 147.9 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005663/0.3408, allocations: 442.6 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3409, allocations: 8.031 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.3409, allocations: 38.75 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.341, allocations: 8.891 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3411, allocations: 164.4 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3411, allocations: 8.359 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3412, allocations: 12.38 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3413, allocations: 62.11 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3413, allocations: 3.938 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3413, allocations: 0 / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3413, allocations: 0 / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.3413, allocations: 15.98 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.3419, allocations: 360.7 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.342, allocations: 34.52 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.342, allocations: 16.94 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.342, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.3422, allocations: 75.38 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3423, allocations: 0 / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000272/0.3425, allocations: 105.8 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3426, allocations: 55.34 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3427, allocations: 129.8 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3427, allocations: 29.7 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.3428, allocations: 96.08 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.3428, allocations: 11.91 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.3429, allocations: 49.69 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3431, allocations: 326.8 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3432, allocations: 51.97 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3433, allocations: 103.4 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3435, allocations: 159.5 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3435, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004253/0.344, allocations: 260.9 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.344, allocations: 71.39 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.344, allocations: 0 / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3441, allocations: 0 / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.268e-05/0.3441, allocations: 8.453 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3441, allocations: 4.062 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.3444, allocations: 56.02 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3444, allocations: 20.05 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001213/0.3446, allocations: 125.7 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3446, allocations: 11.89 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3446, allocations: 12.38 kB / 1.218 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3446, allocations: 0 / 1.218 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3446, allocations: 3.938 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3446, allocations: 0 / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3448, allocations: 185.5 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3448, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.3448, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3448, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.345, allocations: 113 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.345, allocations: 81.11 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3451, allocations: 7.984 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3451, allocations: 4 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3451, allocations: 7.938 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3451, allocations: 3.984 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.3452, allocations: 87.28 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3452, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000234/0.3454, allocations: 32 kB / 1.219 GB, free: 11.02 MB / 0.9669 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005893/0.346, allocations: 0.6514 MB / 1.219 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.3463, allocations: 218.7 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3464, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.3464, allocations: 27.92 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.3466, allocations: 18.23 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3487, allocations: 1.721 MB / 1.221 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3491, allocations: 0.6885 MB / 1.222 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.3491, allocations: 7.984 kB / 1.222 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.3491, allocations: 19.44 kB / 1.222 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3491, allocations: 0 / 1.222 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.3761, allocations: 2.903 MB / 1.225 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.351, allocations: 3.547 kB / 1.225 GB, free: 4.68 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.534287499263883]