Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 106.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.665 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.7002, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001983/0.7022, allocations: 0.7113 MB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.7035, allocations: 1.183 MB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.7036, allocations: 1.375 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.7036, allocations: 3.984 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.7037, allocations: 13.25 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.7043, allocations: 195.8 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.7045, allocations: 185 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.7046, allocations: 9.188 kB / 0.952 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.7047, allocations: 67.7 kB / 0.9521 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.7048, allocations: 53.55 kB / 0.9521 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.7049, allocations: 15.88 kB / 0.9522 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.705, allocations: 28.48 kB / 0.9522 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.705, allocations: 7.906 kB / 0.9522 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.7051, allocations: 57.97 kB / 0.9523 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.7053, allocations: 109.4 kB / 0.9524 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7053, allocations: 0 / 0.9524 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7053, allocations: 0 / 0.9524 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.7053, allocations: 3.938 kB / 0.9524 GB, free: 7.234 MB / 0.7169 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.0005187/0.7058, allocations: 439.3 kB / 0.9528 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.7059, allocations: 9.562 kB / 0.9528 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.7059, allocations: 7.156 kB / 0.9528 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.706, allocations: 179.2 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.7061, allocations: 5.562 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.7061, allocations: 12.62 kB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.7062, allocations: 52.02 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7062, allocations: 192 / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7062, allocations: 5.219 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7062, allocations: 0 / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.7063, allocations: 16.84 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.7067, allocations: 350.6 kB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.7068, allocations: 36.78 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.7068, allocations: 14.08 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.7068, allocations: 0 / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.707, allocations: 104.1 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.707, allocations: 1.312 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002359/0.7073, allocations: 94.92 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7073, allocations: 56.97 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.7074, allocations: 120 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.7074, allocations: 32.52 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.7075, allocations: 92.62 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.7075, allocations: 18.95 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.7076, allocations: 48.28 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.7077, allocations: 320.9 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7078, allocations: 62.14 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.708, allocations: 91.39 kB / 0.9544 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.7081, allocations: 168.3 kB / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7081, allocations: 0 / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004057/0.7085, allocations: 259.4 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.7086, allocations: 68.36 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7086, allocations: 0.875 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7086, allocations: 5.625 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.088e-05/0.7087, allocations: 3 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7087, allocations: 1.594 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.709, allocations: 63.2 kB / 0.955 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.7091, allocations: 9.031 kB / 0.955 GB, free: 4.746 MB / 0.7169 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 8.441e-05/0.7092, allocations: 131.5 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.7092, allocations: 5.375 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.7092, allocations: 11.09 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7092, allocations: 0 / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7092, allocations: 1.438 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7092, allocations: 0 / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.135e-05/0.7093, allocations: 177.1 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7093, allocations: 0 / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-06/0.7094, allocations: 1.594 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7094, allocations: 0 / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7094, allocations: 5.438 kB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7094, allocations: 9.219 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7094, allocations: 0 / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.7095, allocations: 119.4 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.7095, allocations: 79.36 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.7096, allocations: 5.156 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.7096, allocations: 9.109 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.7097, allocations: 6.297 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.7097, allocations: 2.531 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.7097, allocations: 95.45 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7097, allocations: 0 / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002427/0.71, allocations: 30.66 kB / 0.9556 GB, free: 4.082 MB / 0.7169 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.0001372/0.7101, allocations: 103.6 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.7104, allocations: 249 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7104, allocations: 3.938 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.7105, allocations: 26.34 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.7107, allocations: 20.86 kB / 0.956 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.7111, allocations: 195.5 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.7112, allocations: 0.6949 MB / 0.9569 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.7112, allocations: 15.25 kB / 0.9569 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7112, allocations: 0 / 0.9569 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of Templates: time 0.002899/0.7141, allocations: 1.383 MB / 0.9583 GB, free: 2.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches