Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00135/0.00135, allocations: 108.6 kB / 16.27 MB, free: 6.004 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.001375/0.001375, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.73 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002445/0.3146, allocations: 0.6679 MB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3167, allocations: 1.184 MB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3167, allocations: 4 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.3168, allocations: 3.938 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.3169, allocations: 7.922 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.3176, allocations: 221.5 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.3179, allocations: 187.7 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.318, allocations: 4 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3182, allocations: 71.83 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3183, allocations: 47.86 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.3184, allocations: 16 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3185, allocations: 31.98 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.3185, allocations: 11.94 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3186, allocations: 59.88 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3189, allocations: 147.5 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3189, allocations: 4 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.708e-06/0.3189, allocations: 3.984 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3189, allocations: 0 / 1.021 GB, free: 7.969 MB / 0.795 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.00069/0.3196, allocations: 434.9 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3197, allocations: 12.92 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.3198, allocations: 8.844 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.32, allocations: 176.4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.32, allocations: 4.375 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.32, allocations: 12.38 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3202, allocations: 50.19 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3202, allocations: 4.172 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3202, allocations: 3.938 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3202, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.3203, allocations: 12 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.3208, allocations: 360.7 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.3209, allocations: 38.44 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.3209, allocations: 16.86 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.321, allocations: 0 / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.3212, allocations: 75.47 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3212, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002641/0.3215, allocations: 113.5 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.3215, allocations: 51.41 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3217, allocations: 113.8 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3217, allocations: 33.7 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.3218, allocations: 88.14 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3218, allocations: 15.8 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.3219, allocations: 49.69 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3221, allocations: 323.2 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3222, allocations: 63.95 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3224, allocations: 88.2 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.3226, allocations: 171.5 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3226, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004516/0.3231, allocations: 256.8 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.3231, allocations: 71.33 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3232, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3232, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.288e-05/0.3232, allocations: 4 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3232, allocations: 0 / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3236, allocations: 56.06 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3237, allocations: 15.98 kB / 1.023 GB, free: 4.988 MB / 0.795 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.0001307/0.3238, allocations: 129.7 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3238, allocations: 7.891 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.3239, allocations: 12.38 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3239, allocations: 4 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3239, allocations: 64 / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3239, allocations: 4 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3241, allocations: 181.6 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3241, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.3241, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3241, allocations: 4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3241, allocations: 4 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3241, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3241, allocations: 96 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.3243, allocations: 116.9 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3244, allocations: 81.02 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3244, allocations: 8 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.3244, allocations: 3.938 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3245, allocations: 7.984 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3245, allocations: 0 / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.3246, allocations: 91.27 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3246, allocations: 0 / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002415/0.3248, allocations: 32 kB / 1.024 GB, free: 4.219 MB / 0.795 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.0001858/0.325, allocations: 111.2 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.3254, allocations: 250.6 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3254, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.3255, allocations: 31.92 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3257, allocations: 18.73 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.3261, allocations: 184.5 kB / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3265, allocations: 0.6885 MB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.3265, allocations: 15.44 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of SimCode: time 9.01e-07/0.3265, allocations: 0 / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of Templates: time 0.003377/0.3299, allocations: 1.382 MB / 1.026 GB, free: 1.473 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches