Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001396/0.001396, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001706/0.001706, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.354/3.354, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_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.003212/0.003212, allocations: 70.88 kB / 1.177 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4125, allocations: 180.2 MB / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00255/0.4151, allocations: 0.6228 MB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4171, allocations: 1.148 MB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.4172, allocations: 4 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.4172, allocations: 0 / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.4173, allocations: 3.938 kB / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.4179, allocations: 126.5 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.4181, allocations: 91.83 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.4182, allocations: 3.984 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.4183, allocations: 35.97 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4185, allocations: 27.91 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.4185, allocations: 8 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.4186, allocations: 27.97 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.4186, allocations: 4 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.4187, allocations: 27.92 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4189, allocations: 87.94 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4189, allocations: 8 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4189, allocations: 0 / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4189, allocations: 0 / 1.355 GB, free: 6.379 MB / 1.045 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.0005467/0.4194, allocations: 300 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4195, allocations: 8.031 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.4195, allocations: 30.75 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.4196, allocations: 4.938 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4197, allocations: 114.5 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4197, allocations: 384 / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4197, allocations: 8.375 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4199, allocations: 42.25 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4199, allocations: 7.875 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4199, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4199, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.4199, allocations: 11.94 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.4204, allocations: 263.9 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.4205, allocations: 22.58 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.4205, allocations: 4.859 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.4205, allocations: 0 / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.4207, allocations: 63.39 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4207, allocations: 0 / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002129/0.4209, allocations: 61.64 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.421, allocations: 55.41 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4211, allocations: 109.8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4211, allocations: 29.7 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.4212, allocations: 88.08 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.4212, allocations: 11.94 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.4213, allocations: 33.64 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4215, allocations: 322.8 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.4215, allocations: 27.98 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.4216, allocations: 46.56 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4217, allocations: 80.5 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4218, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.422, allocations: 147.3 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.4221, allocations: 41.62 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4221, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.4221, allocations: 8.094 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4223, allocations: 35.86 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4224, allocations: 7.984 kB / 1.357 GB, free: 4.191 MB / 1.045 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 0.0001048/0.4225, allocations: 121.7 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.4225, allocations: 4 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.4225, allocations: 7.688 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4225, allocations: 4 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4225, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4225, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4227, allocations: 132.7 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4227, allocations: 3.984 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.4227, allocations: 0 / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4227, allocations: 0 / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.4227, allocations: 4 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4227, allocations: 0 / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4227, allocations: 3.938 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.4228, allocations: 85 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.4228, allocations: 7.953 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.4228, allocations: 3.984 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.4229, allocations: 0 / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.4229, allocations: 0 / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.4229, allocations: 4.312 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.4229, allocations: 91.22 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4229, allocations: 0 / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002154/0.4232, allocations: 19.98 kB / 1.357 GB, free: 3.637 MB / 1.045 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.0005223/0.4237, allocations: 0.6202 MB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.4239, allocations: 103.4 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4239, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.4239, allocations: 8.125 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.4242, allocations: 17.36 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.4259, allocations: 1.361 MB / 1.359 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4262, allocations: 0.6807 MB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.4263, allocations: 0 / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.4263, allocations: 15.44 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.4263, allocations: 0 / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4591, allocations: 2.042 MB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 7.125 kB / 1.362 GB, free: 14.76 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.541872828966007]