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.001162/0.001162, 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.001015/0.001015, 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.8879/0.8879, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.11 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 2.885e-06/2.885e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.343e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001375/0.001398, allocations: 0.6483 MB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002629, allocations: 1.214 MB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.002675, allocations: 0 / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.002704, allocations: 7.938 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.002766, allocations: 11.86 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.003275, allocations: 207.4 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003458, allocations: 171.7 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003559, allocations: 19.92 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.003667, allocations: 99.8 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.003768, allocations: 47.91 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.003792, allocations: 16 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.003853, allocations: 27.94 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.003874, allocations: 11.97 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.003925, allocations: 43.97 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004108, allocations: 191.5 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.00411, allocations: 0 / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004111, allocations: 0 / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004115, allocations: 4 kB / 0.9531 GB, free: 0.7656 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.0004123/0.004527, allocations: 353.6 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004567, allocations: 12.03 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.004594, allocations: 38.67 kB / 0.9535 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.004636, allocations: 12.89 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.00471, allocations: 109.7 kB / 0.9537 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004724, allocations: 8.375 kB / 0.9537 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.004742, allocations: 8.375 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.004834, allocations: 50.17 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.00484, allocations: 192 / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004849, allocations: 4.375 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004855, allocations: 12.06 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.004888, allocations: 15.98 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.005285, allocations: 287.9 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.005357, allocations: 38.52 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.00538, allocations: 12.94 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.005398, allocations: 7.922 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.005552, allocations: 79.38 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005553, allocations: 0 / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/0.005791, allocations: 113.5 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.005829, allocations: 59.41 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.005903, allocations: 117.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.005924, allocations: 29.7 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.00598, allocations: 92.09 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.005996, allocations: 15.91 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.006057, allocations: 45.69 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.006146, allocations: 318.8 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.006267, allocations: 123.4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.006429, allocations: 154.3 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.006575, allocations: 168 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.006578, allocations: 7.938 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000292/0.00687, allocations: 320.3 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.006909, allocations: 67.39 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.006917, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.006931, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.006951, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.006955, allocations: 128 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.007146, allocations: 63.83 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.007167, allocations: 11.98 kB / 0.9558 GB, free: 13.75 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 6.727e-05/0.007234, allocations: 129.7 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.007242, allocations: 7.938 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.007269, allocations: 12.44 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007271, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007276, allocations: 4 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007279, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.007365, allocations: 144.7 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007366, allocations: 3.938 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.007372, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.007374, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.00738, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007381, allocations: 320 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007382, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.768e-05/0.00748, allocations: 121 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.007486, allocations: 0 / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.007496, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.007512, allocations: 11.98 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.007543, allocations: 3.938 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.007549, allocations: 8.062 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.007579, allocations: 95.2 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007579, allocations: 0 / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001522/0.007731, allocations: 32 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.0002802/0.008011, allocations: 0.6592 MB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.008256, allocations: 274.2 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008258, allocations: 4 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.008286, allocations: 23.92 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.0001626/0.008449, allocations: 18.33 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.009746, allocations: 1.964 MB / 0.9592 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.009792, allocations: 79.36 kB / 0.9593 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.009816, allocations: 4 kB / 0.9593 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.009856, allocations: 24.48 kB / 0.9593 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of SimCode: time 4.9e-07/0.009857, allocations: 0 / 0.9593 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02501, allocations: 3.76 MB / 0.963 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.826, allocations: 1.875 kB / 0.963 GB, free: 6.227 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.779963722452521]