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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008561/0.0008561, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.000908, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004999, allocations: 8 kB / 0.8166 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7842, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008099/0.7851, allocations: 389.6 kB / 0.9561 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7865, allocations: 1.202 MB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.7865, allocations: 1.406 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.7865, allocations: 7.922 kB / 0.9573 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.7866, allocations: 9.266 kB / 0.9573 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.7871, allocations: 196.6 kB / 0.9575 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.7873, allocations: 152.9 kB / 0.9576 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7874, allocations: 8.562 kB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.7875, allocations: 60.44 kB / 0.9577 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.7876, allocations: 52.72 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.7877, allocations: 8.312 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.7877, allocations: 21.48 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.7878, allocations: 4.531 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.7879, allocations: 79.86 kB / 0.9578 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.788, allocations: 104.3 kB / 0.9579 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7881, allocations: 4 kB / 0.9579 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7881, allocations: 0 / 0.9579 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.7881, allocations: 0 / 0.9579 GB, free: 6.031 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.0003618/0.7884, allocations: 412.8 kB / 0.9583 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7885, allocations: 8.969 kB / 0.9583 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.7885, allocations: 8.125 kB / 0.9584 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.7886, allocations: 170 kB / 0.9585 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7887, allocations: 9.734 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.7887, allocations: 13.47 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7888, allocations: 55.47 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7888, allocations: 192 / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7888, allocations: 5.281 kB / 0.9586 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7888, allocations: 0 / 0.9586 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.7889, allocations: 15.83 kB / 0.9586 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.7893, allocations: 346.6 kB / 0.9589 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.7894, allocations: 41.14 kB / 0.959 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.7894, allocations: 17.88 kB / 0.959 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.7894, allocations: 5.438 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.7896, allocations: 84.11 kB / 0.9591 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7896, allocations: 0 / 0.9591 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002383/0.7898, allocations: 103.6 kB / 0.9592 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7899, allocations: 52.53 kB / 0.9592 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.79, allocations: 127.6 kB / 0.9594 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.79, allocations: 32.8 kB / 0.9594 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.7901, allocations: 93.58 kB / 0.9595 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.7901, allocations: 18.28 kB / 0.9595 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.7902, allocations: 21.41 kB / 0.9595 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.7903, allocations: 324 kB / 0.9598 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.7905, allocations: 59.59 kB / 0.9599 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7907, allocations: 95.66 kB / 0.96 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.791, allocations: 152.8 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.791, allocations: 0 / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006273/0.7916, allocations: 263.9 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.7917, allocations: 67.33 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.7917, allocations: 1.906 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7917, allocations: 1.719 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.7918, allocations: 5.875 kB / 0.9604 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7918, allocations: 5.375 kB / 0.9604 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.7923, allocations: 87.55 kB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.7924, allocations: 8.25 kB / 0.9605 GB, free: 3.566 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.872e-05/0.7925, allocations: 127.4 kB / 0.9607 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.7925, allocations: 10.66 kB / 0.9607 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.7925, allocations: 9.75 kB / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.7925, allocations: 0 / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7925, allocations: 1.375 kB / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7925, allocations: 0 / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.7926, allocations: 176.6 kB / 0.9608 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7927, allocations: 3.938 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.7927, allocations: 2.75 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7927, allocations: 0 / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7927, allocations: 5.375 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7927, allocations: 4 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7927, allocations: 1.375 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.7928, allocations: 107.4 kB / 0.961 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.7929, allocations: 82.39 kB / 0.961 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7929, allocations: 13.42 kB / 0.9611 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.7929, allocations: 1.375 kB / 0.9611 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.7929, allocations: 6.688 kB / 0.9611 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.793, allocations: 6.734 kB / 0.9611 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.793, allocations: 95.47 kB / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.793, allocations: 0 / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000231/0.7932, allocations: 30.12 kB / 0.9612 GB, free: 2.906 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.0001806/0.7934, allocations: 107.8 kB / 0.9613 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.7938, allocations: 248.9 kB / 0.9615 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7938, allocations: 0 / 0.9615 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.7938, allocations: 25.12 kB / 0.9616 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.7941, allocations: 22.11 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.7944, allocations: 197.6 kB / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.7945, allocations: 0.6931 MB / 0.9624 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.7945, allocations: 10.19 kB / 0.9625 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7945, allocations: 3.938 kB / 0.9625 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.003279/0.7978, allocations: 1.354 MB / 0.9638 GB, free: 1.008 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