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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: 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_11_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_11_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.001425/0.00143, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001448/0.001448, allocations: 199 kB / 16.91 MB, free: 6.188 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 469.8 MB / 0.7427 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.66 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001891/0.3132, allocations: 0.7078 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3146, allocations: 1.198 MB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.3147, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3147, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.3148, allocations: 7.922 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.3154, allocations: 209.9 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3156, allocations: 183.7 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.3157, allocations: 11.98 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.3158, allocations: 67.89 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.3159, allocations: 51.86 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.3159, allocations: 12 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.316, allocations: 31.98 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.316, allocations: 11.94 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.3161, allocations: 55.88 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3162, allocations: 103.8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3162, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3163, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3163, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 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.0005475/0.3168, allocations: 434.9 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3169, allocations: 12.03 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3169, allocations: 12.84 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3171, allocations: 172.3 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3171, allocations: 4.375 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.3171, allocations: 12.38 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3172, allocations: 50.19 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3172, allocations: 4.188 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3172, allocations: 3.938 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3173, allocations: 3.984 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.3173, allocations: 15.98 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.3178, allocations: 356.6 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.3179, allocations: 38.5 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.3179, allocations: 20.86 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3179, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3181, allocations: 79.45 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3181, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002331/0.3183, allocations: 105.5 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3184, allocations: 55.39 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3185, allocations: 113.8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3185, allocations: 33.7 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3186, allocations: 96.05 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.3186, allocations: 15.88 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.3187, allocations: 49.69 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3189, allocations: 318.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.319, allocations: 59.95 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.3191, allocations: 100.2 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3193, allocations: 156.1 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3194, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004577/0.3198, allocations: 268.8 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.3199, allocations: 71.39 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3199, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.3199, allocations: 4 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3199, allocations: 64 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3203, allocations: 59.78 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3203, allocations: 24.08 kB / 1.069 GB, free: 9.414 MB / 0.8419 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.0001096/0.3204, allocations: 131.8 kB / 1.069 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3205, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.3205, allocations: 12.36 kB / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3205, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3205, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3205, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3207, allocations: 177.6 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.3207, allocations: 11.98 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3207, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.3209, allocations: 116.9 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3209, allocations: 81.02 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.321, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.321, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.321, allocations: 15.97 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.321, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.3211, allocations: 95.2 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3211, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002299/0.3213, allocations: 32 kB / 1.07 GB, free: 8.652 MB / 0.8419 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.0001385/0.3215, allocations: 107.2 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3218, allocations: 250.8 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3218, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.3219, allocations: 28.33 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3221, allocations: 20.12 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.3225, allocations: 196.5 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3228, allocations: 0.6846 MB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3229, allocations: 11.44 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3229, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of Templates: time 0.003139/0.326, allocations: 1.386 MB / 1.073 GB, free: 5.906 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches