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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_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.01024/0.01024, allocations: 106.2 kB / 15.74 MB, free: 6 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.002168/0.002168, allocations: 199 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.588/2.588, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.667/3.667, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.97 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4478, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002839/0.4507, allocations: 0.6535 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4534, allocations: 1.185 MB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.4536, allocations: 0 / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.4536, allocations: 7.875 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.4538, allocations: 19.84 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.455, allocations: 220.1 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.4555, allocations: 179.7 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.4557, allocations: 15.98 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.456, allocations: 63.89 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.4563, allocations: 67.83 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.4564, allocations: 16 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.4566, allocations: 27.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.4567, allocations: 11.94 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.4569, allocations: 59.88 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.4575, allocations: 146.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4575, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4575, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.4576, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 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.001227/0.4588, allocations: 431.6 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.634e-05/0.4589, allocations: 12.03 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.459, allocations: 34.75 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4591, allocations: 12.84 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4593, allocations: 172.4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.4594, allocations: 4.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.4595, allocations: 8.375 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4597, allocations: 54.19 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4597, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.4597, allocations: 3.984 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4597, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.4598, allocations: 12 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.4607, allocations: 364.6 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4608, allocations: 38.5 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.4609, allocations: 16.86 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4609, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.4612, allocations: 75.47 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4612, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004015/0.4617, allocations: 109.5 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.4617, allocations: 55.34 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4619, allocations: 117.8 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.462, allocations: 37.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4621, allocations: 92.03 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4621, allocations: 15.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.4623, allocations: 53.69 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4625, allocations: 322.8 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4628, allocations: 59.95 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.463, allocations: 92.27 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.4633, allocations: 159.5 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4634, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000683/0.464, allocations: 268.9 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.024e-05/0.4641, allocations: 67.39 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4642, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4642, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/0.4642, allocations: 480 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4642, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.4648, allocations: 55.78 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.4649, allocations: 20.05 kB / 1.093 GB, free: 12.29 MB / 0.8575 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.0001983/0.4651, allocations: 124 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4651, allocations: 7.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.4652, allocations: 12.31 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4652, allocations: 3.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4652, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4652, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.4655, allocations: 169.6 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4655, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.4655, allocations: 8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4655, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4655, allocations: 3.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4655, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4656, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4658, allocations: 113.2 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.4659, allocations: 85.02 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4659, allocations: 64 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.466, allocations: 8 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.466, allocations: 15.92 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4661, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.434e-05/0.4661, allocations: 91.27 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.705e-06/0.4661, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000459/0.4666, allocations: 27.94 kB / 1.093 GB, free: 11.53 MB / 0.8575 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.0007122/0.4673, allocations: 0.6593 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.4679, allocations: 246.7 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4679, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.468, allocations: 31.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.4684, allocations: 16.27 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.4717, allocations: 1.705 MB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4722, allocations: 0.6924 MB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.4722, allocations: 4 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.4723, allocations: 23.42 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.4723, allocations: 0 / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.5076, allocations: 2.876 MB / 1.1 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.22, allocations: 3.75 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches