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.001281/0.001281, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001436/0.001436, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.727 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.273/3.273, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.00204/0.00204, allocations: 71.36 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002357/0.3665, allocations: 0.6121 MB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3684, allocations: 1.128 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.3685, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.3685, allocations: 3.938 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.3686, allocations: 11.94 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3692, allocations: 123 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3694, allocations: 83.83 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3695, allocations: 12 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.3696, allocations: 31.97 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3697, allocations: 27.89 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3697, allocations: 8 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.3698, allocations: 19.98 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.3698, allocations: 4 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.3699, allocations: 31.91 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3701, allocations: 88 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3701, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3701, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3701, allocations: 0 / 1.327 GB, free: 220 kB / 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.0006155/0.3707, allocations: 300 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3708, allocations: 12.03 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3708, allocations: 30.75 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.3709, allocations: 4.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.371, allocations: 110.4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.371, allocations: 12.36 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3711, allocations: 8.375 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3712, allocations: 38.25 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3712, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3712, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3712, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.3712, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.3717, allocations: 251.9 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.3718, allocations: 18.58 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.3718, allocations: 12.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.3718, allocations: 3.938 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.372, allocations: 71.38 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.372, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002114/0.3722, allocations: 61.62 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3723, allocations: 55.41 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3724, allocations: 105.8 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3724, allocations: 29.7 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3725, allocations: 88.14 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3725, allocations: 3.953 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.3725, allocations: 29.7 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3727, allocations: 318.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3728, allocations: 61.69 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3729, allocations: 80.25 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.373, allocations: 84.2 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.373, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002857/0.3733, allocations: 169 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.3734, allocations: 41.69 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3734, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3734, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.745e-05/0.3734, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.3734, allocations: 8.094 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.3736, allocations: 27.91 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3737, allocations: 4 kB / 1.329 GB, free: 13.94 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 0.0001103/0.3738, allocations: 126.2 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.3738, allocations: 7.953 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.3738, allocations: 3.688 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3738, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3738, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3738, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.374, allocations: 132.7 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.374, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.374, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.374, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.374, allocations: 3.938 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.374, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.374, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.3741, allocations: 84.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.3741, allocations: 12.27 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3741, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.3741, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.3742, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3742, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.3742, allocations: 83.22 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3742, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002199/0.3745, allocations: 20 kB / 1.33 GB, free: 13.38 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.0004933/0.3749, allocations: 0.6166 MB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.3752, allocations: 141 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3752, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.3752, allocations: 16.17 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3754, allocations: 5.875 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3771, allocations: 1.481 MB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.253e-05/0.3771, allocations: 63.34 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.3771, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.3772, allocations: 11.44 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3772, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.4083, allocations: 2.55 MB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 2.406 kB / 1.334 GB, free: 8.445 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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] "Error: Could not read variable not1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv. Warning: Get data of variable not1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.738055164925754]