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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00112/0.001121, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001126/0.001126, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 71.52 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3186, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002204/0.3209, allocations: 0.6637 MB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3225, allocations: 1.188 MB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.3225, allocations: 4 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.3226, allocations: 3.938 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.3227, allocations: 11.91 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.3233, allocations: 210.2 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3236, allocations: 191.6 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3237, allocations: 19.97 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3238, allocations: 67.88 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.324, allocations: 59.84 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.324, allocations: 16 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.3241, allocations: 27.98 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3241, allocations: 15.92 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3242, allocations: 47.91 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3245, allocations: 155.5 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.3245, allocations: 11.92 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3245, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3245, allocations: 0 / 1.021 GB, free: 7.164 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.0006928/0.3252, allocations: 434.6 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3253, allocations: 8.922 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.3254, allocations: 12.84 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3255, allocations: 168.4 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3255, allocations: 4.375 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3256, allocations: 12.38 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3257, allocations: 54.23 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3257, allocations: 192 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3257, allocations: 3.938 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3257, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.3258, allocations: 15.94 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.3263, allocations: 356.6 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.3264, allocations: 38.5 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.3264, allocations: 16.86 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.3264, allocations: 0 / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3266, allocations: 91.38 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3266, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002778/0.3269, allocations: 97.58 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.327, allocations: 55.41 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3271, allocations: 113.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3271, allocations: 37.7 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3272, allocations: 96.11 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.3272, allocations: 15.75 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.3273, allocations: 45.69 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3274, allocations: 323.2 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3276, allocations: 67.89 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3277, allocations: 88.2 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.3279, allocations: 163.6 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3279, allocations: 0 / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004652/0.3284, allocations: 264.9 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.3285, allocations: 73.92 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3285, allocations: 4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3285, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.3285, allocations: 7.938 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3285, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.3288, allocations: 51.94 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.3289, allocations: 11.98 kB / 1.024 GB, free: 4.184 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.0001155/0.329, allocations: 129.7 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.329, allocations: 7.906 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3291, allocations: 12.36 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3291, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3291, allocations: 0 / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3291, allocations: 0 / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3292, allocations: 173.6 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3292, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-06/0.3292, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3292, allocations: 4 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3293, allocations: 7.984 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3293, allocations: 3.938 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3293, allocations: 0 / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3294, allocations: 116.9 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.3295, allocations: 81.02 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3295, allocations: 0 / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.3295, allocations: 8.094 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3296, allocations: 11.92 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3296, allocations: 4 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.3296, allocations: 91.27 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3296, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002392/0.3299, allocations: 36 kB / 1.025 GB, free: 3.406 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.0001444/0.33, allocations: 103.2 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.3304, allocations: 250.8 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3304, allocations: 4.062 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.3304, allocations: 23.98 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3307, allocations: 15.98 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.331, allocations: 158.8 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3313, allocations: 0.6846 MB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.3313, allocations: 11.98 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.3314, allocations: 11.44 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3314, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of Templates: time 0.004539/0.3359, allocations: 1.844 MB / 1.028 GB, free: 256 kB / 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=480 -s gbode -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