Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007829/0.007829, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001412/0.001412, allocations: 196.6 kB / 16.67 MB, free: 5.922 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.618/2.618, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9812/0.9825, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002045/0.9845, allocations: 0.6508 MB / 1.221 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.9862, allocations: 1.186 MB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.9863, allocations: 4 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.9863, allocations: 7.938 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.9864, allocations: 15.86 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.9872, allocations: 217.4 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.9874, allocations: 171.7 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.9875, allocations: 11.98 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.9877, allocations: 63.95 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.9878, allocations: 67.78 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.9879, allocations: 16 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.988, allocations: 31.92 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.988, allocations: 7.984 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.9881, allocations: 55.83 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.9883, allocations: 155.2 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9883, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9883, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9883, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 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.0006391/0.989, allocations: 443.6 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.989, allocations: 8.031 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.9891, allocations: 12.89 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.9893, allocations: 172.3 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.9893, allocations: 8.375 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.9893, allocations: 8.375 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.9894, allocations: 54.17 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.9894, allocations: 4.188 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9895, allocations: 3.938 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9895, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.9895, allocations: 16 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.99, allocations: 348.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.9901, allocations: 42.42 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.9901, allocations: 16.86 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.9901, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.9904, allocations: 83.45 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.9904, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002794/0.9907, allocations: 109.5 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.9907, allocations: 51.41 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9908, allocations: 113.8 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.9909, allocations: 29.7 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.9909, allocations: 96.08 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.991, allocations: 15.91 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9911, allocations: 53.69 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9912, allocations: 318.8 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.9913, allocations: 59.95 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.9915, allocations: 92.27 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.9917, allocations: 167.5 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9917, allocations: 0 / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004561/0.9922, allocations: 261.4 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.9922, allocations: 67.39 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9922, allocations: 4 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9923, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.62e-05/0.9923, allocations: 4.125 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.9923, allocations: 11.88 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.9926, allocations: 55.83 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.9927, allocations: 15.98 kB / 1.226 GB, free: 12.46 MB / 0.9512 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.0001123/0.9928, allocations: 122.9 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.9928, allocations: 7.953 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.9928, allocations: 20.3 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9928, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9928, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9928, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.993, allocations: 173.6 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.993, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-06/0.993, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.993, allocations: 4.047 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.993, allocations: 8 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.993, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.993, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.9931, allocations: 121 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.9932, allocations: 77.11 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.9932, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.9932, allocations: 8 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.9933, allocations: 7.922 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.9933, allocations: 4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.9933, allocations: 91.27 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9933, allocations: 4 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002375/0.9936, allocations: 32 kB / 1.226 GB, free: 11.69 MB / 0.9512 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.0001742/0.9938, allocations: 107.2 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.9941, allocations: 218.6 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9941, allocations: 0 / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.9941, allocations: 23.98 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.9944, allocations: 25 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.9948, allocations: 162.6 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.995, allocations: 0.6846 MB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.995, allocations: 4 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.995, allocations: 11.44 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.995, allocations: 3.938 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.004979/1, allocations: 1.838 MB / 1.229 GB, free: 8.562 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches