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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002121/0.002121, allocations: 67.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8715, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002217/0.8738, allocations: 0.6682 MB / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.8754, allocations: 1.19 MB / 1.271 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.8755, allocations: 4 kB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.8755, allocations: 3.938 kB / 1.271 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.8756, allocations: 15.86 kB / 1.271 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.8763, allocations: 210.2 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.8766, allocations: 175.6 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.8767, allocations: 11.98 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.8768, allocations: 67.88 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.8769, allocations: 59.86 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.877, allocations: 16 kB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.877, allocations: 31.98 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.8771, allocations: 11.97 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.8772, allocations: 55.84 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.8774, allocations: 157.3 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8774, allocations: 3.938 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8774, allocations: 0 / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8774, allocations: 0 / 1.271 GB, free: 2.52 MB / 0.9669 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.0006396/0.8781, allocations: 434.7 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8781, allocations: 12.03 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.8782, allocations: 34.73 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.8782, allocations: 12.89 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.8784, allocations: 172.3 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.8784, allocations: 4.375 kB / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.8784, allocations: 8.375 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.8785, allocations: 54.17 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.8786, allocations: 3.938 kB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8786, allocations: 4 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8786, allocations: 4 kB / 1.272 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.8786, allocations: 12 kB / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.8792, allocations: 348.7 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.8793, allocations: 34.56 kB / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.8793, allocations: 20.78 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.8793, allocations: 3.938 kB / 1.272 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.8795, allocations: 88.98 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8795, allocations: 0 / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002822/0.8798, allocations: 101.6 kB / 1.273 GB, free: 1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.8799, allocations: 59.34 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.88, allocations: 113.8 kB / 1.273 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.88, allocations: 29.7 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.8801, allocations: 96.08 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.8802, allocations: 23.89 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.8802, allocations: 49.69 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8804, allocations: 318.8 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.8806, allocations: 59.97 kB / 1.273 GB, free: 224 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.8807, allocations: 92.25 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.8809, allocations: 159.6 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8809, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004489/0.8814, allocations: 261.4 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.8815, allocations: 73.52 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8815, allocations: 4 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8815, allocations: 4.125 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.8815, allocations: 7.938 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8815, allocations: 3.938 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.8818, allocations: 55.89 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.8819, allocations: 19.98 kB / 1.274 GB, free: 15.48 MB / 0.9825 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.0001378/0.882, allocations: 125.8 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.882, allocations: 11.94 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.882, allocations: 4.375 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8821, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8821, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8821, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.8822, allocations: 181.6 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8822, allocations: 3.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-06/0.8822, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.8822, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.8823, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8823, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8823, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.8824, allocations: 117 kB / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.8825, allocations: 77.11 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.8825, allocations: 0 / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.8825, allocations: 4 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.8826, allocations: 7.984 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.8826, allocations: 4 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.8826, allocations: 99.2 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8826, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002355/0.8829, allocations: 31.94 kB / 1.275 GB, free: 14.71 MB / 0.9825 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.0006112/0.8835, allocations: 0.6562 MB / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.8839, allocations: 222.8 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8839, allocations: 0 / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.8839, allocations: 23.92 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.8842, allocations: 20.2 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.8864, allocations: 1.718 MB / 1.277 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8867, allocations: 0.6884 MB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.8868, allocations: 4 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.8868, allocations: 19.42 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8868, allocations: 4 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.9117, allocations: 2.91 MB / 1.281 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.172, allocations: 0.7031 kB / 1.281 GB, free: 8.367 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.18473725579679]