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.001684/0.001684, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.002011/0.002011, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.221/2.221, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 66.5 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2852, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002424/0.2876, allocations: 0.6699 MB / 0.9509 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.2897, allocations: 1.189 MB / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.2898, allocations: 0 / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.2898, allocations: 4 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.29, allocations: 11.88 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.2907, allocations: 218.9 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.291, allocations: 179.7 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2911, allocations: 16 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2913, allocations: 67.88 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2914, allocations: 51.81 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.2914, allocations: 16 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2916, allocations: 31.97 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2916, allocations: 4 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.2917, allocations: 59.83 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.292, allocations: 139.7 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.292, allocations: 0 / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.292, allocations: 3.938 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.292, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 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.000616/0.2926, allocations: 442.9 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2927, allocations: 8.031 kB / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.2927, allocations: 12.84 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2929, allocations: 172.4 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2929, allocations: 8.312 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.2929, allocations: 8.375 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2931, allocations: 54.19 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2931, allocations: 192 / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2931, allocations: 7.922 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2931, allocations: 4 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.2932, allocations: 12 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.2937, allocations: 348.7 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.2938, allocations: 46.44 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.2938, allocations: 12.86 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2938, allocations: 4 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.294, allocations: 83.45 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.294, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002571/0.2943, allocations: 101.5 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2943, allocations: 59.39 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2944, allocations: 113.8 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.2945, allocations: 29.7 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.2946, allocations: 92.14 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2946, allocations: 23.78 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.2947, allocations: 49.69 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2948, allocations: 318.8 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.295, allocations: 59.95 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2951, allocations: 88.64 kB / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.2954, allocations: 163.6 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2954, allocations: 7.938 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004305/0.2958, allocations: 260.8 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.2959, allocations: 67.39 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2959, allocations: 8.125 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2959, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.2959, allocations: 4 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.296, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2963, allocations: 47.94 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.2964, allocations: 16.05 kB / 0.9555 GB, free: 3.215 MB / 0.7325 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.0001235/0.2965, allocations: 129.7 kB / 0.9556 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2966, allocations: 15.89 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2966, allocations: 8.312 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2966, allocations: 11.92 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2966, allocations: 0 / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2966, allocations: 0 / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.2968, allocations: 177.6 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2968, allocations: 3.984 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.2968, allocations: 0 / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2968, allocations: 0 / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2968, allocations: 8 kB / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2968, allocations: 0 / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2968, allocations: 0 / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.297, allocations: 116.9 kB / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.2971, allocations: 77.11 kB / 0.956 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2971, allocations: 3.938 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2971, allocations: 4 kB / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2972, allocations: 7.984 kB / 0.956 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2972, allocations: 11.94 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.2972, allocations: 91.27 kB / 0.9561 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2972, allocations: 0 / 0.9561 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002445/0.2975, allocations: 31.91 kB / 0.9561 GB, free: 2.434 MB / 0.7325 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.0001716/0.2977, allocations: 111.2 kB / 0.9562 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.298, allocations: 242.6 kB / 0.9565 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.298, allocations: 256 / 0.9565 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/0.2981, allocations: 36.33 kB / 0.9565 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.2984, allocations: 20.12 kB / 0.9565 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.2988, allocations: 176.5 kB / 0.9567 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2991, allocations: 0.6961 MB / 0.9574 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2992, allocations: 11.44 kB / 0.9574 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.2992, allocations: 0 / 0.9574 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.003131/0.3023, allocations: 1.38 MB / 0.9587 GB, free: 15.68 MB / 0.7481 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