Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.001663/0.001663, 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.002098/0.002098, allocations: 213.3 kB / 22.25 MB, free: 5.258 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.773 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.383/3.383, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.002118/0.002118, allocations: 74.3 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001942/0.3967, allocations: 0.6558 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3984, allocations: 1.198 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.3985, allocations: 4 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3985, allocations: 3.938 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.3986, allocations: 11.92 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3992, allocations: 215.9 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.3994, allocations: 175.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3995, allocations: 12 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3997, allocations: 75.88 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3998, allocations: 51.84 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.3998, allocations: 16 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.3999, allocations: 27.98 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.3999, allocations: 7.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.4, allocations: 59.88 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.4003, allocations: 147.9 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4003, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4003, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.4003, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 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.00061/0.4009, allocations: 357.5 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4009, allocations: 12.03 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.401, allocations: 38.67 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.401, allocations: 12.89 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4011, allocations: 110.5 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4012, allocations: 12.31 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.4012, allocations: 8.375 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.4013, allocations: 46.23 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4013, allocations: 7.938 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4013, allocations: 3.938 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4013, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.4014, allocations: 27.92 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.4019, allocations: 295.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.462e-05/0.402, allocations: 30.58 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.402, allocations: 16.94 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.402, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.4023, allocations: 79.31 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4023, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002862/0.4025, allocations: 101.6 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.4026, allocations: 55.41 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4027, allocations: 121.8 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.4028, allocations: 29.7 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.4029, allocations: 93.16 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4029, allocations: 15.91 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.403, allocations: 49.69 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4032, allocations: 322.8 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4033, allocations: 127.3 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.4035, allocations: 147.7 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4038, allocations: 163.6 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4038, allocations: 480 / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004781/0.4042, allocations: 328.2 kB / 1.368 GB, free: 8.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.4043, allocations: 74.05 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4043, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4043, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.4044, allocations: 8.062 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4044, allocations: 3.938 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.4047, allocations: 52.06 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.4047, allocations: 15.98 kB / 1.369 GB, free: 8.387 MB / 1.061 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,nand1.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.0001356/0.4049, allocations: 129.7 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.4049, allocations: 15.92 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.4049, allocations: 8.312 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4049, allocations: 0 / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4049, allocations: 0 / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4049, allocations: 4 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.4051, allocations: 152.7 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4051, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.4051, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.4051, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4051, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4051, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4051, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.4053, allocations: 120.9 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.4053, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4053, allocations: 4 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.4053, allocations: 7.984 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.4054, allocations: 8 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4054, allocations: 0 / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.576e-05/0.4054, allocations: 91.27 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002296/0.4057, allocations: 31.95 kB / 1.369 GB, free: 7.742 MB / 1.061 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,nand1.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.0005465/0.4062, allocations: 0.6517 MB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.4066, allocations: 274.6 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4066, allocations: 256 / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.4066, allocations: 31.92 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.4069, allocations: 20.12 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4092, allocations: 1.971 MB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.886e-05/0.4092, allocations: 71.33 kB / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.4093, allocations: 11.86 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.4093, allocations: 19.44 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4093, allocations: 0 / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4429, allocations: 3.635 MB / 1.376 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 2.25 kB / 1.376 GB, free: 0.9805 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nand1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.012506449129432]