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: 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_10_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_10_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.001559/0.001559, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002754/0.002755, allocations: 196 kB / 16.79 MB, free: 6.809 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.701/2.701, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7772, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002312/0.7796, allocations: 0.7344 MB / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.7816, allocations: 1.202 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.7816, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.7817, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.7818, allocations: 7.922 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.7825, allocations: 199.5 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.7827, allocations: 155.7 kB / 1.02 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.7829, allocations: 12 kB / 1.02 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.783, allocations: 63.81 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.7831, allocations: 43.88 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.7832, allocations: 12 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.7833, allocations: 19.98 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.7833, allocations: 11.98 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.7834, allocations: 51.83 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.7836, allocations: 99.77 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7836, allocations: 0 / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7836, allocations: 0 / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.7836, allocations: 0 / 1.02 GB, free: 240 kB / 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.0006886/0.7843, allocations: 446.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7844, allocations: 8.031 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.7845, allocations: 16.84 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7846, allocations: 168.3 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7847, allocations: 8.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.7847, allocations: 12.31 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.7848, allocations: 50.23 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7848, allocations: 4.125 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.7849, allocations: 3.938 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7849, allocations: 8 kB / 1.021 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.7849, allocations: 15.98 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.7855, allocations: 344.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.7856, allocations: 46.45 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.7857, allocations: 12.86 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.7857, allocations: 8.078 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.7859, allocations: 79.36 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7859, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002746/0.7862, allocations: 105.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.7862, allocations: 51.41 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.7863, allocations: 117.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.7864, allocations: 33.69 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.7865, allocations: 92.14 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.7865, allocations: 15.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7866, allocations: 49.69 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7867, allocations: 326.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.7869, allocations: 51.97 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.7871, allocations: 96.25 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.7873, allocations: 164 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7873, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004673/0.7878, allocations: 264.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.7879, allocations: 69.08 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7879, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7879, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.028e-05/0.7879, allocations: 3.984 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7879, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.7883, allocations: 55.86 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.7884, allocations: 15.98 kB / 1.022 GB, free: 13.23 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.0001366/0.7885, allocations: 131 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.7885, allocations: 7.906 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.7886, allocations: 4.375 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7886, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7886, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7886, allocations: 7.938 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.7888, allocations: 177.6 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7888, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.7888, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7888, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.7888, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7888, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7889, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.7891, allocations: 112.9 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.7892, allocations: 92.94 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7892, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.7892, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.7893, allocations: 12 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.7893, allocations: 7.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.7893, allocations: 91.22 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7893, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003063/0.7896, allocations: 31.98 kB / 1.023 GB, free: 12.46 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.0001745/0.7898, allocations: 107.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.7902, allocations: 246.6 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7902, allocations: 4.25 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.7903, allocations: 28.38 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.7906, allocations: 19.92 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.791, allocations: 194.2 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.7913, allocations: 0.6888 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.7913, allocations: 15.44 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.7913, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.003545/0.7949, allocations: 1.366 MB / 1.026 GB, free: 9.723 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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