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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.758/2.758, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.349e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002105/0.002139, allocations: 0.6525 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.004233, allocations: 1.207 MB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.004301, allocations: 1.625 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.004335, allocations: 3.938 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.004438, allocations: 15.92 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.005198, allocations: 208.6 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.005486, allocations: 176.6 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.005585, allocations: 3.984 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.005794, allocations: 100.7 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005945, allocations: 47.92 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.005985, allocations: 12.53 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.006076, allocations: 37.06 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.006103, allocations: 11.94 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.006195, allocations: 47.94 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.006487, allocations: 175.6 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.00649, allocations: 0.5625 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.006491, allocations: 0.6875 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.006497, allocations: 7.938 kB / 0.789 GB, free: 10.09 MB / 0.7448 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.0006163/0.007113, allocations: 354.5 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.007155, allocations: 8.031 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.007243, allocations: 17.55 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.007383, allocations: 113.7 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.007408, allocations: 9.969 kB / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.007446, allocations: 12.36 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.007585, allocations: 50.23 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007594, allocations: 192 / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.007605, allocations: 3.812 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.00761, allocations: 4.375 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.007673, allocations: 23.86 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.008205, allocations: 268.5 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.008299, allocations: 26.58 kB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.008341, allocations: 20.94 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.008354, allocations: 3.938 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.008571, allocations: 83.25 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.008573, allocations: 0.5625 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003396/0.008912, allocations: 105.8 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.008969, allocations: 59.98 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.009101, allocations: 119.5 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.009143, allocations: 37.64 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.009236, allocations: 88.09 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.009259, allocations: 19.84 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.009378, allocations: 53.67 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.009585, allocations: 315.8 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.009789, allocations: 123.4 kB / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.01015, allocations: 153.7 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01038, allocations: 161.5 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01038, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000555/0.01094, allocations: 337.8 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.01101, allocations: 68.83 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01101, allocations: 0 / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.01104, allocations: 4 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.01106, allocations: 3.938 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01107, allocations: 8.547 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.01142, allocations: 53.88 kB / 0.7916 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.01146, allocations: 8 kB / 0.7916 GB, free: 7.156 MB / 0.7448 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.0001422/0.0116, allocations: 122.5 kB / 0.7917 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.01162, allocations: 13.8 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.01165, allocations: 12.44 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01166, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01166, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01166, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.0118, allocations: 125.3 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01181, allocations: 4.625 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.01182, allocations: 4.656 kB / 0.7919 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01183, allocations: 3.938 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01184, allocations: 5.219 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01184, allocations: 0 / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01184, allocations: 3.938 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.01202, allocations: 113.7 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.01204, allocations: 3.938 kB / 0.792 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01205, allocations: 5.062 kB / 0.792 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.01208, allocations: 7.984 kB / 0.792 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.01212, allocations: 4 kB / 0.792 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01213, allocations: 4.656 kB / 0.792 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.01221, allocations: 95.2 kB / 0.7921 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01221, allocations: 5.031 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002853/0.01249, allocations: 31.95 kB / 0.7922 GB, free: 6.555 MB / 0.7448 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.0002182/0.01271, allocations: 104.3 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.0132, allocations: 278.9 kB / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01321, allocations: 0 / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.01326, allocations: 22.2 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01355, allocations: 21.23 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.01402, allocations: 157.1 kB / 0.7927 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.962e-05/0.01411, allocations: 78.05 kB / 0.7928 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.01414, allocations: 8 kB / 0.7928 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.01417, allocations: 8.5 kB / 0.7928 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01417, allocations: 0 / 0.7928 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of Templates: time 0.005984/0.02015, allocations: 2.052 MB / 0.7948 GB, free: 3.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.908466996974312]