Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001328/0.001327, allocations: 100.2 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.00148/0.00148, allocations: 177.3 kB / 15.94 MB, free: 228 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.502/1.502, allocations: 223.2 MB / 239.9 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005212, allocations: 16 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8043, allocations: 153.6 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008758/0.8053, allocations: 397 kB / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8067, allocations: 1.121 MB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.8068, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.8068, allocations: 3.938 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.8069, allocations: 15.95 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.8075, allocations: 191.1 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.8076, allocations: 91.77 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8077, allocations: 7.984 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.8079, allocations: 63.88 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.808, allocations: 43.88 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.808, allocations: 8 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.8081, allocations: 23.92 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.8081, allocations: 11.98 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.8082, allocations: 41.64 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.8084, allocations: 99.75 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8084, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8084, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8084, allocations: 0 / 1.023 GB, free: 15.05 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.0005036/0.8089, allocations: 412.5 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8089, allocations: 11.98 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.809, allocations: 8 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8091, allocations: 163 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.8092, allocations: 11.98 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.8092, allocations: 16 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.8093, allocations: 45.64 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8093, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.8094, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.8094, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.8094, allocations: 23.91 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.8099, allocations: 356.7 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.81, allocations: 30.58 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.81, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.8101, allocations: 83.39 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8101, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002344/0.8104, allocations: 105.6 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.8104, allocations: 55.41 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.8105, allocations: 122 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.8106, allocations: 33.64 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.8106, allocations: 96.22 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.8107, allocations: 11.91 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.8107, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8108, allocations: 322.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.8109, allocations: 51.97 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.8111, allocations: 100.2 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.8112, allocations: 115.3 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8112, allocations: 3.953 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004072/0.8116, allocations: 256.8 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.8117, allocations: 67.39 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8117, allocations: 8.125 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8117, allocations: 64 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.8118, allocations: 11.94 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8118, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.8122, allocations: 83.78 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.8122, allocations: 11.98 kB / 1.025 GB, free: 12.2 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,$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.0001036/0.8123, allocations: 119.7 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.8124, allocations: 7.953 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.8124, allocations: 12.36 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8124, allocations: 8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8124, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8124, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.8125, allocations: 173.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8126, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.8126, allocations: 11.88 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8126, allocations: 480 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8126, allocations: 8 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8126, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.8126, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.8127, allocations: 105 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.8128, allocations: 88.95 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.8128, allocations: 7.953 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.8128, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.8129, allocations: 7.984 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.8129, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.8129, allocations: 91.27 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.482e-06/0.8129, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002328/0.8132, allocations: 35.94 kB / 1.026 GB, free: 11.43 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 (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.0001588/0.8134, allocations: 107.2 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.8137, allocations: 246.7 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8137, allocations: 0 / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.8137, allocations: 31.92 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.8139, allocations: 12.23 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.8142, allocations: 171.2 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.8145, allocations: 0.6926 MB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.8145, allocations: 4 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.8145, allocations: 11.44 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8145, allocations: 4 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.004016/0.8185, allocations: 1.686 MB / 1.029 GB, free: 8.414 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches