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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001479/0.001479, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.328/2.328, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.5674, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001465/0.5689, allocations: 0.7227 MB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.57, allocations: 1.187 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.57, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.57, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.5701, allocations: 15.86 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.5706, allocations: 199.8 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.5708, allocations: 187.7 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.5708, allocations: 7.984 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.5709, allocations: 71.88 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.571, allocations: 47.88 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.571, allocations: 19.98 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.5711, allocations: 27.98 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.5711, allocations: 8 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.5712, allocations: 59.83 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5713, allocations: 145.9 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5713, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5713, allocations: 3.938 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.5714, allocations: 0 / 1.02 GB, free: 0 / 0.7637 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.0004062/0.5718, allocations: 436.4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.5718, allocations: 8.031 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.5718, allocations: 38.69 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.5719, allocations: 8.844 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.572, allocations: 180.2 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.572, allocations: 4.375 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.572, allocations: 12.38 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.218e-05/0.5721, allocations: 46.25 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5721, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5721, allocations: 7.984 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.5721, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.5722, allocations: 15.94 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.5725, allocations: 352.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.5726, allocations: 38.56 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.5726, allocations: 16.86 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-06/0.5726, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.5728, allocations: 87.38 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5728, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0001891/0.573, allocations: 105.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.573, allocations: 59.39 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.5731, allocations: 113.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.5731, allocations: 29.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.5732, allocations: 88.14 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.5732, allocations: 23.78 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.5733, allocations: 49.69 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.5734, allocations: 318.8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5735, allocations: 63.89 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.5736, allocations: 100.3 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5738, allocations: 160 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5738, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003484/0.5741, allocations: 264.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.5742, allocations: 71.39 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.5742, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.5742, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.581e-05/0.5742, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5742, allocations: 3.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.5746, allocations: 56 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.5746, allocations: 15.98 kB / 1.022 GB, free: 12.96 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 8.004e-05/0.5747, allocations: 126.3 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.5747, allocations: 7.891 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.5747, allocations: 8.375 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5747, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5747, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5747, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.5748, allocations: 181.6 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5749, allocations: 3.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.5749, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5749, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.5749, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5749, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5749, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.575, allocations: 120.9 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.575, allocations: 81.09 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.5751, allocations: 8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.5751, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.5751, allocations: 11.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.5751, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.5752, allocations: 95.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5752, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002114/0.5754, allocations: 35.91 kB / 1.023 GB, free: 12.19 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.0003384/0.5757, allocations: 0.6574 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.576, allocations: 246.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.576, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.5761, allocations: 24 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.5763, allocations: 28.36 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5778, allocations: 1.711 MB / 1.025 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.5779, allocations: 0.6904 MB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.578, allocations: 4 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.578, allocations: 11.44 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.578, allocations: 4 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/1.736, allocations: 2.761 MB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.736, allocations: 207.3 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/3.423, allocations: 0 / 1.029 GB, free: 5.73 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > 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