Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001459/0.001459, allocations: 103.6 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001641/0.001641, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 65.19 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3686, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002038/0.3706, allocations: 0.6129 MB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3722, allocations: 1.148 MB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.3722, allocations: 0 / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.3723, allocations: 0 / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.3723, allocations: 7.938 kB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.3729, allocations: 123.9 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.3731, allocations: 91.81 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.3732, allocations: 11.92 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.3732, allocations: 27.98 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.3733, allocations: 35.89 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3734, allocations: 8 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.3734, allocations: 31.91 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.3735, allocations: 8 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.3735, allocations: 27.91 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3738, allocations: 80.02 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3738, allocations: 0 / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3738, allocations: 0 / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3738, allocations: 0 / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005446/0.3743, allocations: 377.1 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3744, allocations: 15.98 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3744, allocations: 38.73 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3745, allocations: 4.938 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3746, allocations: 164.3 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3746, allocations: 8.375 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3746, allocations: 4.375 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.3747, allocations: 42.19 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3747, allocations: 3.938 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.3747, allocations: 0 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3747, allocations: 0 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.3748, allocations: 19.97 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3752, allocations: 284.8 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.3752, allocations: 18.58 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.3752, allocations: 12.8 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.3752, allocations: 0 / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3754, allocations: 63.45 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3754, allocations: 3.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001671/0.3756, allocations: 53.69 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3756, allocations: 67.33 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.3757, allocations: 101.8 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3757, allocations: 29.7 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.3758, allocations: 92.11 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3758, allocations: 7.953 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.3759, allocations: 33.7 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.376, allocations: 314.8 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.3761, allocations: 27.98 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.3762, allocations: 50.55 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3763, allocations: 76.53 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3763, allocations: 7.938 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002691/0.3766, allocations: 151.3 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.3766, allocations: 37.7 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3766, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3766, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-05/0.3767, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3767, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.3769, allocations: 27.91 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3769, allocations: 12.08 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.71e-05/0.377, allocations: 121.8 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.377, allocations: 3.953 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.377, allocations: 3.5 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.377, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.377, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.377, allocations: 7.984 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3772, allocations: 157.6 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3772, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.3772, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.3772, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.3772, allocations: 7.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3772, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3772, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3773, allocations: 85.22 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3773, allocations: 85.09 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3774, allocations: 8 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.3774, allocations: 4 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.3774, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3774, allocations: 7.984 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.3775, allocations: 79.28 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3775, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002089/0.3777, allocations: 16 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005716/0.3782, allocations: 0.6202 MB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3784, allocations: 107.4 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3784, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.3785, allocations: 7.938 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3787, allocations: 16.17 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3803, allocations: 1.365 MB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3806, allocations: 0.6768 MB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3807, allocations: 4 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3807, allocations: 15.42 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3807, allocations: 0 / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4134, allocations: 1.923 MB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.439, allocations: 7.547 kB / 1.33 GB, free: 9.27 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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: 15.119184263050556]