Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000797/0.000797, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008864/0.0008864, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9246/0.9246, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.136e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001257/0.001278, allocations: 0.613 MB / 0.9511 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002382, allocations: 1.128 MB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.00242, allocations: 0 / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002445, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.002501, allocations: 7.922 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.002876, allocations: 121.7 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.003008, allocations: 91.77 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.003096, allocations: 4 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.003182, allocations: 47.95 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.003257, allocations: 27.89 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.003278, allocations: 8 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/0.003336, allocations: 20 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.003354, allocations: 11.97 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.003395, allocations: 19.98 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.003557, allocations: 103.7 kB / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003559, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00356, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003565, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 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.0003488/0.003913, allocations: 300 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.003954, allocations: 8.031 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.003979, allocations: 30.75 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.004011, allocations: 12.88 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.004084, allocations: 113.7 kB / 0.9531 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004099, allocations: 8.375 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.004111, allocations: 4.375 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.00419, allocations: 38.19 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004197, allocations: 192 / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.004205, allocations: 4.375 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.00421, allocations: 8.125 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.004241, allocations: 7.984 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.004533, allocations: 240 kB / 0.9534 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.004577, allocations: 26.5 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.00459, allocations: 16.92 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.004597, allocations: 3.938 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.004707, allocations: 59.41 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004708, allocations: 0 / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.004855, allocations: 69.56 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.004886, allocations: 51.41 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.004939, allocations: 105.8 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.004967, allocations: 29.7 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.005001, allocations: 84.08 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.005011, allocations: 11.95 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.005053, allocations: 33.7 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.005123, allocations: 318.8 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.005186, allocations: 57.69 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.005246, allocations: 76.27 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.005316, allocations: 84.2 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.005318, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.005486, allocations: 184.9 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.005513, allocations: 33.7 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.005519, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.00553, allocations: 4.094 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.551e-05/0.005546, allocations: 3.984 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.005551, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.005673, allocations: 23.97 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.005684, allocations: 8 kB / 0.9546 GB, free: 14.98 MB / 0.9167 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 6.48e-05/0.005749, allocations: 117.8 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-06/0.005756, allocations: 4.172 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.005778, allocations: 11.67 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00578, allocations: 7.984 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.005785, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.005789, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.114e-05/0.00587, allocations: 124.8 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.005873, allocations: 7.938 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-06/0.005877, allocations: 7.875 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.005879, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.005885, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005886, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005887, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.892e-05/0.005976, allocations: 81.08 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.005983, allocations: 11.92 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.005995, allocations: 4.312 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.006003, allocations: 4 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.006029, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.006034, allocations: 4 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.006066, allocations: 91.2 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006066, allocations: 0 / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000142/0.006208, allocations: 12 kB / 0.9551 GB, free: 14.43 MB / 0.9167 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.0003195/0.006527, allocations: 0.6163 MB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.006704, allocations: 145 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006706, allocations: 0 / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.006725, allocations: 11.98 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.006896, allocations: 8 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.008128, allocations: 1.481 MB / 0.9573 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.008163, allocations: 63.28 kB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.008183, allocations: 7.938 kB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.008212, allocations: 12.69 kB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.008212, allocations: 0 / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.02581, allocations: 2.673 MB / 0.96 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.743, allocations: 8.047 kB / 0.96 GB, free: 9.375 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.795341627672315]