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.001802/0.001802, allocations: 108 kB / 15.6 MB, free: 132 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.002103/0.002103, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.599/1.599, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.933/2.933, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7504, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002779/0.7532, allocations: 0.66 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.7556, allocations: 1.187 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.7557, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.7557, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.7559, allocations: 11.92 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.7567, allocations: 220.5 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.757, allocations: 179.7 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.7572, allocations: 15.97 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.7573, allocations: 67.84 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.7575, allocations: 47.86 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.7575, allocations: 16 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.7576, allocations: 27.98 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.7577, allocations: 11.98 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.7578, allocations: 63.92 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.7581, allocations: 143.7 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7581, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7581, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7581, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 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.0007567/0.7589, allocations: 436.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7589, allocations: 11.97 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.759, allocations: 8.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.7592, allocations: 172.2 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.7592, allocations: 16.22 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.7593, allocations: 8.375 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.7594, allocations: 50.23 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7594, allocations: 192 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7594, allocations: 3.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7595, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.7595, allocations: 15.98 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.7601, allocations: 348.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.7602, allocations: 42.45 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.7603, allocations: 12.86 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.7603, allocations: 8.078 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.7605, allocations: 83.28 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.7606, allocations: 3.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002997/0.7609, allocations: 97.61 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.7609, allocations: 63.41 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.7611, allocations: 117.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.7611, allocations: 33.69 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.7612, allocations: 92.12 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.7612, allocations: 11.81 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.7614, allocations: 53.69 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7615, allocations: 318.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.7617, allocations: 59.97 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.7619, allocations: 94 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.7621, allocations: 159.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7621, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005122/0.7626, allocations: 256.8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.7627, allocations: 67.39 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7627, allocations: 4.469 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7628, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.488e-05/0.7628, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7628, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.7632, allocations: 67.92 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.7633, allocations: 15.92 kB / 1.023 GB, free: 12.84 MB / 0.7794 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.0001326/0.7634, allocations: 125.7 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.7634, allocations: 7.906 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.7635, allocations: 8.375 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7635, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7635, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7635, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.7637, allocations: 177.6 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7637, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.7637, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7637, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.7637, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7637, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7637, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.7639, allocations: 125.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.764, allocations: 85.08 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.764, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.764, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.7641, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.7641, allocations: 12.05 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.7642, allocations: 83.28 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7642, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002551/0.7645, allocations: 35.98 kB / 1.023 GB, free: 12.08 MB / 0.7794 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.0001965/0.7647, allocations: 103.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.7651, allocations: 258.7 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7651, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.7652, allocations: 31.92 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7655, allocations: 21.77 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.766, allocations: 166.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.7663, allocations: 0.6846 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.7664, allocations: 7.984 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.7664, allocations: 11.44 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7664, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.006154/0.7726, allocations: 1.837 MB / 1.026 GB, free: 8.906 MB / 0.7794 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/jenkins/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