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: 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_9_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_9_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.002149/0.002149, allocations: 112.2 kB / 16.41 MB, free: 6.477 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.00217/0.00217, allocations: 183 kB / 17.34 MB, free: 5.754 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 71.88 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7896, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001789/0.7915, allocations: 0.6636 MB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7928, allocations: 1.183 MB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.7928, allocations: 0 / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.7929, allocations: 4.844 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.7929, allocations: 10.88 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.7935, allocations: 224.7 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.7938, allocations: 182.7 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.7939, allocations: 6.688 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.794, allocations: 71.77 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.7941, allocations: 61.52 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.7942, allocations: 15.91 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.7942, allocations: 32.44 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.7943, allocations: 17.47 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.7944, allocations: 56.77 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.7946, allocations: 151.8 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7946, allocations: 0 / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7946, allocations: 0.7969 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7946, allocations: 1.25 kB / 1.091 GB, free: 3.895 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.0004187/0.7951, allocations: 428 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7951, allocations: 14 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.7952, allocations: 11.94 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.7952, allocations: 170.4 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.7953, allocations: 3.125 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.7953, allocations: 10.8 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.7954, allocations: 53.03 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7954, allocations: 0.9062 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.7954, allocations: 5.406 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7955, allocations: 0.875 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.7955, allocations: 17.45 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.7959, allocations: 354.1 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.796, allocations: 38.8 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.796, allocations: 20.11 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.796, allocations: 5.219 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.7962, allocations: 85.31 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7962, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002495/0.7965, allocations: 104.2 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.7965, allocations: 54.16 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.7966, allocations: 116 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.7966, allocations: 33.39 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.7967, allocations: 90.61 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.7967, allocations: 15.88 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.7968, allocations: 52.33 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.7968, allocations: 323.7 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.797, allocations: 59.2 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.7971, allocations: 96.83 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.7973, allocations: 162.8 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7973, allocations: 0.8125 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004088/0.7977, allocations: 262.5 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.7978, allocations: 67.8 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7978, allocations: 0.875 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7978, allocations: 3.359 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-05/0.7978, allocations: 2.156 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7979, allocations: 6.672 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.7982, allocations: 56.31 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.7982, allocations: 15.69 kB / 1.094 GB, free: 1.613 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 8.971e-05/0.7983, allocations: 123.3 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.7984, allocations: 3.859 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.7984, allocations: 17.92 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7984, allocations: 1.938 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7984, allocations: 0 / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7984, allocations: 0.7969 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518e-05/0.7985, allocations: 174.8 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7985, allocations: 0.7031 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.7985, allocations: 2.094 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7985, allocations: 0.9688 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.7986, allocations: 1.641 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7986, allocations: 1.453 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7986, allocations: 7.938 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.7987, allocations: 119.9 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.7987, allocations: 83.44 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.7988, allocations: 6.328 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.7988, allocations: 5.438 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.7988, allocations: 13.28 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.7988, allocations: 3.734 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.7989, allocations: 93.98 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7989, allocations: 0 / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002444/0.7991, allocations: 26.98 kB / 1.095 GB, free: 0.9805 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.0001339/0.7993, allocations: 106.1 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.7996, allocations: 245 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7996, allocations: 0 / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-05/0.7997, allocations: 27.3 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.7999, allocations: 20.25 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.8002, allocations: 189.5 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.8004, allocations: 0.6861 MB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.8005, allocations: 12.11 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8005, allocations: 0 / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.003674/0.8041, allocations: 1.382 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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