Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001839/0.001839, 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.002487/0.002487, allocations: 215.1 kB / 22.26 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 8.008 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.315/3.315, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.003064/0.003064, allocations: 77.59 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4139, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00336/0.4173, allocations: 0.6546 MB / 1.354 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.4198, allocations: 1.222 MB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.4199, allocations: 0 / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.4199, allocations: 3.938 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.4201, allocations: 15.92 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.4212, allocations: 215.1 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.4216, allocations: 179.6 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4217, allocations: 19.92 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.4219, allocations: 67.89 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.4223, allocations: 63.84 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.4223, allocations: 16 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4224, allocations: 23.98 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.4225, allocations: 15.98 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.4226, allocations: 59.83 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.423, allocations: 151.8 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.423, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.423, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.423, allocations: 0 / 1.355 GB, free: 5.781 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007278/0.4237, allocations: 361.5 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.4238, allocations: 12.03 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.957e-05/0.4239, allocations: 30.75 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/0.424, allocations: 16.83 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4241, allocations: 122.5 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4242, allocations: 4.375 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.4242, allocations: 8.375 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.4245, allocations: 50.25 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.4245, allocations: 3.938 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4245, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4245, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.4245, allocations: 15.98 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.4253, allocations: 339.6 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4254, allocations: 30.58 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.4254, allocations: 20.94 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4255, allocations: 0 / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.4258, allocations: 75.31 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.4258, allocations: 0 / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002779/0.4261, allocations: 109.6 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.4261, allocations: 51.41 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4263, allocations: 121.8 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.4263, allocations: 29.7 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4264, allocations: 100.1 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.4264, allocations: 7.953 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.4266, allocations: 49.69 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4268, allocations: 318.8 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.4271, allocations: 71.84 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4273, allocations: 96.25 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.4276, allocations: 159.6 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4276, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006259/0.4282, allocations: 260.9 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.4283, allocations: 71.39 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4283, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4283, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.009e-05/0.4284, allocations: 7.984 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.4284, allocations: 3.938 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.4289, allocations: 56.02 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.4289, allocations: 20.3 kB / 1.358 GB, free: 2.934 MB / 1.045 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 0.0001881/0.4291, allocations: 130.1 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.4292, allocations: 3.953 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.4293, allocations: 12.38 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4293, allocations: 0 / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4293, allocations: 4 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4293, allocations: 3.938 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4295, allocations: 152.6 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4295, allocations: 0 / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.4295, allocations: 4 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4295, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4295, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4295, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4295, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4298, allocations: 121 kB / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.4299, allocations: 7.953 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.4299, allocations: 3.984 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.4299, allocations: 64 / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.43, allocations: 12 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.43, allocations: 3.984 kB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.4301, allocations: 87.28 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4301, allocations: 0 / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004142/0.4305, allocations: 35.98 kB / 1.359 GB, free: 2.293 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: 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.0007209/0.4312, allocations: 0.6514 MB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.4317, allocations: 218.6 kB / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4317, allocations: 0 / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.4318, allocations: 23.98 kB / 1.359 GB, free: 1.352 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.4322, allocations: 21.64 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4353, allocations: 1.721 MB / 1.361 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.4358, allocations: 0.6885 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.645e-05/0.4359, allocations: 4 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.436, allocations: 23.42 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.436, allocations: 0 / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4749, allocations: 3.023 MB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 9.641 kB / 1.365 GB, free: 11.87 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.509122121846303]