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: "" <> 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.0009683/0.0009683, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006483/0.006483, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.487/2.487, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6384, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009248/0.6394, allocations: 397 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.6411, allocations: 1.195 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.6412, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.6412, allocations: 7.922 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.6413, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.642, allocations: 204.5 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.6422, allocations: 147.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.6423, allocations: 15.98 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.6425, allocations: 59.83 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.6426, allocations: 51.86 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.6426, allocations: 8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.6427, allocations: 19.92 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.6428, allocations: 8 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.6429, allocations: 81.52 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.6431, allocations: 137.9 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6431, allocations: 8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6432, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6432, allocations: 0 / 1.025 GB, free: 13.52 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.0005351/0.6437, allocations: 406.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.6438, allocations: 12.03 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.123e-05/0.6439, allocations: 30.75 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.6439, allocations: 8.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.6441, allocations: 176.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.6441, allocations: 8.375 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.6442, allocations: 12.38 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.6444, allocations: 46.19 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6444, allocations: 3.938 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6444, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6444, allocations: 3.984 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.6445, allocations: 12 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.6451, allocations: 352.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.6452, allocations: 46.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.6453, allocations: 8.859 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.6453, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6455, allocations: 87.38 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.6455, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002971/0.6458, allocations: 101.6 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.6459, allocations: 63.39 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.646, allocations: 125.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.6461, allocations: 29.7 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.6462, allocations: 92.12 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.6462, allocations: 19.8 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.6463, allocations: 17.72 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6464, allocations: 322.8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6466, allocations: 59.97 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.6468, allocations: 96.25 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.647, allocations: 151.6 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.647, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004337/0.6474, allocations: 264.8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.6475, allocations: 67.39 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.6475, allocations: 4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6475, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2e-05/0.6476, allocations: 11.88 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.6476, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.648, allocations: 83.98 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.6481, allocations: 11.98 kB / 1.028 GB, free: 10.51 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.0001302/0.6482, allocations: 128.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.6482, allocations: 7.906 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.6482, allocations: 8.375 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6483, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6483, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6483, allocations: 480 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.6484, allocations: 173.6 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6484, allocations: 7.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.6485, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6485, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6485, allocations: 3.938 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6485, allocations: 8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6485, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.6486, allocations: 112.9 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.6487, allocations: 81.11 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6487, allocations: 3.984 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.6488, allocations: 0 / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.6488, allocations: 4 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6488, allocations: 11.98 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.6489, allocations: 91.22 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6489, allocations: 0 / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002351/0.6491, allocations: 35.98 kB / 1.029 GB, free: 9.746 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.0004636/0.6496, allocations: 0.6436 MB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.6499, allocations: 255.1 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.65, allocations: 0 / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.65, allocations: 27.92 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6503, allocations: 18.02 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.6521, allocations: 1.72 MB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.6523, allocations: 0.6926 MB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.6524, allocations: 8.547 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.6524, allocations: 19.44 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.6524, allocations: 0 / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.665, allocations: 2.602 MB / 1.035 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.6653, allocations: 196.5 kB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.423, allocations: 0 / 1.035 GB, free: 3.465 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