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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000931/0.000931, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009978/0.0009978, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.667/2.667, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.8581, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008029/0.859, allocations: 381 kB / 0.9539 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.8603, allocations: 1.126 MB / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.8603, allocations: 1 kB / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.8604, allocations: 0 / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.8605, allocations: 19.33 kB / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.8611, allocations: 194.9 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.8612, allocations: 78.67 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.8613, allocations: 12.39 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.8614, allocations: 58.23 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.8615, allocations: 40.91 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.8615, allocations: 12.72 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.8616, allocations: 26.14 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.8616, allocations: 12 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.8617, allocations: 39.39 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.8618, allocations: 101.2 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.8618, allocations: 0 / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8619, allocations: 0 / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.8619, allocations: 0 / 0.9556 GB, free: 6.523 MB / 0.7169 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.0004007/0.8623, allocations: 409.1 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.8623, allocations: 12 kB / 0.956 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.8624, allocations: 19.33 kB / 0.956 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.8625, allocations: 173.2 kB / 0.9561 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.8625, allocations: 9.344 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.8625, allocations: 12.91 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.8626, allocations: 50.73 kB / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8627, allocations: 0 / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.8627, allocations: 1.219 kB / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8627, allocations: 0 / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.8627, allocations: 19.84 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.8632, allocations: 355.8 kB / 0.9566 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.8633, allocations: 35.59 kB / 0.9566 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.8633, allocations: 1.438 kB / 0.9566 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.8635, allocations: 79.12 kB / 0.9567 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.8635, allocations: 4 kB / 0.9567 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002361/0.8637, allocations: 111 kB / 0.9568 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.8638, allocations: 52.91 kB / 0.9568 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.8638, allocations: 114.8 kB / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.8639, allocations: 34.11 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.8639, allocations: 89.55 kB / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.8639, allocations: 14.23 kB / 0.9571 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.864, allocations: 3.438 kB / 0.9571 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.864, allocations: 320 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.8641, allocations: 62.95 kB / 0.9575 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.8643, allocations: 91.14 kB / 0.9575 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.8644, allocations: 110.4 kB / 0.9576 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.8644, allocations: 3.938 kB / 0.9576 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003671/0.8648, allocations: 266.5 kB / 0.9579 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.8648, allocations: 68.61 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8648, allocations: 3 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.8649, allocations: 3.953 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/0.8649, allocations: 7.891 kB / 0.958 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8649, allocations: 3.938 kB / 0.958 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.8653, allocations: 78.31 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.8654, allocations: 17.45 kB / 0.9581 GB, free: 4.133 MB / 0.7169 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.8655, allocations: 124.2 kB / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.8655, allocations: 3.375 kB / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.8655, allocations: 5.5 kB / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8656, allocations: 1.031 kB / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8656, allocations: 7.891 kB / 0.9582 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8656, allocations: 5.109 kB / 0.9582 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.364e-05/0.8657, allocations: 177.2 kB / 0.9584 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8657, allocations: 0 / 0.9584 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.8657, allocations: 1.188 kB / 0.9584 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8657, allocations: 1.969 kB / 0.9584 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.8657, allocations: 7.984 kB / 0.9584 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8657, allocations: 0 / 0.9584 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8657, allocations: 1.062 kB / 0.9584 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.8659, allocations: 120.1 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.8659, allocations: 86.11 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.8659, allocations: 1.188 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.8659, allocations: 1.438 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.866, allocations: 10.42 kB / 0.9586 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.866, allocations: 7 kB / 0.9586 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.866, allocations: 98.47 kB / 0.9587 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8661, allocations: 0 / 0.9587 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.8663, allocations: 27.16 kB / 0.9587 GB, free: 3.473 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.8664, allocations: 102.9 kB / 0.9588 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.8667, allocations: 244.3 kB / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8667, allocations: 256 / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.8668, allocations: 36.7 kB / 0.9591 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.867, allocations: 14.95 kB / 0.9591 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.8673, allocations: 161.7 kB / 0.9593 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.8674, allocations: 0.6965 MB / 0.9599 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.8674, allocations: 11.2 kB / 0.96 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.8674, allocations: 12.06 kB / 0.96 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8674, allocations: 0 / 0.96 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.004424/0.8719, allocations: 1.683 MB / 0.9616 GB, free: 1.434 MB / 0.7169 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches