Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.0007852/0.0007852, 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.0008024/0.0008024, 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.8691/0.8691, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.636/1.636, allocations: 359 MB / 0.6037 GB, free: 11.08 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.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.234e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00106/0.001072, allocations: 0.6482 MB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002214, allocations: 1.198 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.002261, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.002293, allocations: 3.938 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.002362, allocations: 27.84 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.002843, allocations: 216.7 kB / 0.9526 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.003022, allocations: 175.7 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.003113, allocations: 0 / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.003229, allocations: 99.86 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.003339, allocations: 51.86 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.003365, allocations: 12 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.003426, allocations: 35.97 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.003446, allocations: 11.94 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.003502, allocations: 47.94 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.003683, allocations: 179.6 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.003685, allocations: 0 / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003686, allocations: 4 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.00369, allocations: 0 / 0.9531 GB, free: 0.7695 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004216/0.004111, allocations: 361.5 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.004156, allocations: 8.031 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.004185, allocations: 38.75 kB / 0.9535 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.004224, allocations: 12.89 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.004299, allocations: 113.7 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.004313, allocations: 8.375 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.004332, allocations: 8.375 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.004428, allocations: 46.25 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004437, allocations: 4.172 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004447, allocations: 4.359 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.004453, allocations: 8.125 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.004487, allocations: 12 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.004872, allocations: 295.8 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.004945, allocations: 38.5 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.004969, allocations: 16.86 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.004979, allocations: 3.938 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.005119, allocations: 87.38 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.005121, allocations: 0 / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001973/0.005318, allocations: 101.6 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.005359, allocations: 51.41 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.005434, allocations: 121.8 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.00562, allocations: 33.7 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.005667, allocations: 96.08 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.00568, allocations: 15.89 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.005738, allocations: 49.69 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.005815, allocations: 322.8 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.00593, allocations: 115.4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.006047, allocations: 159.6 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.006182, allocations: 159.6 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.006185, allocations: 3.938 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002899/0.006475, allocations: 328.3 kB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.006515, allocations: 67.39 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006521, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006533, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.006549, allocations: 4 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.006555, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.006744, allocations: 59.95 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.006765, allocations: 15.98 kB / 0.9558 GB, free: 13.74 MB / 0.9167 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,nor1.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 7.462e-05/0.006839, allocations: 129.7 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.006846, allocations: 3.953 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.006871, allocations: 12.44 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006873, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.006879, allocations: 480 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.006884, allocations: 3.984 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.006971, allocations: 140.7 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006972, allocations: 0 / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.006976, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006977, allocations: 7.938 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.006984, allocations: 7.922 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006985, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.006989, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007094, allocations: 125.2 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.0071, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007111, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.007122, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.007157, allocations: 11.98 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.007162, allocations: 4 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.007195, allocations: 95.27 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007195, allocations: 0 / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001513/0.007347, allocations: 28 kB / 0.9563 GB, free: 13.1 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.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.0002817/0.007628, allocations: 0.6552 MB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.007864, allocations: 278.1 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007865, allocations: 0 / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.007897, allocations: 27.97 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.008066, allocations: 20.42 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.009388, allocations: 1.963 MB / 0.9592 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.009433, allocations: 75.8 kB / 0.9593 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.009453, allocations: 4 kB / 0.9593 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.009485, allocations: 16.5 kB / 0.9593 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.009486, allocations: 0 / 0.9593 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02415, allocations: 3.771 MB / 0.963 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.726, allocations: 10.61 kB / 0.963 GB, free: 6.215 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nor1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.74518338125199]