Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.002116/0.002116, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002611/0.002611, allocations: 161 kB / 22.46 MB, free: 5.375 MB / 14.72 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.091/3.091, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.447e-06/3.447e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.281e-05/4.626e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00195/0.001996, allocations: 0.6475 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.004039, allocations: 1.213 MB / 0.9833 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.004089, allocations: 0 / 0.9833 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.004122, allocations: 0 / 0.9833 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.004196, allocations: 15.86 kB / 0.9833 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.005024, allocations: 222.7 kB / 0.9835 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.005333, allocations: 163.7 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.005431, allocations: 11.98 kB / 0.9837 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.005589, allocations: 95.86 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.005732, allocations: 51.84 kB / 0.9838 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.005777, allocations: 16 kB / 0.9838 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.00586, allocations: 27.94 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.005888, allocations: 15.97 kB / 0.9839 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.005988, allocations: 47.97 kB / 0.9839 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.006292, allocations: 187.5 kB / 0.9841 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006294, allocations: 0 / 0.9841 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006295, allocations: 0 / 0.9841 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.006304, allocations: 0 / 0.9841 GB, free: 9.281 MB / 0.9356 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.0005964/0.006901, allocations: 365.5 kB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.006953, allocations: 12.02 kB / 0.9844 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.007025, allocations: 12.89 kB / 0.9845 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.007168, allocations: 109.7 kB / 0.9846 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.007184, allocations: 4.375 kB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.007223, allocations: 16.38 kB / 0.9846 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007359, allocations: 46.23 kB / 0.9846 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007367, allocations: 4.188 kB / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.007377, allocations: 384 / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.007383, allocations: 384 / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.007436, allocations: 23.81 kB / 0.9846 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.007947, allocations: 268.5 kB / 0.9849 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.867e-05/0.008036, allocations: 30.56 kB / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.008068, allocations: 16.86 kB / 0.985 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.008077, allocations: 0 / 0.985 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.008235, allocations: 95.33 kB / 0.985 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.008237, allocations: 0 / 0.985 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003002/0.008537, allocations: 105.6 kB / 0.9851 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.008589, allocations: 55.41 kB / 0.9852 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.008827, allocations: 117.8 kB / 0.9853 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.008873, allocations: 33.7 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.008982, allocations: 96.08 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.009006, allocations: 15.84 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.009113, allocations: 45.69 kB / 0.9855 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002497/0.009363, allocations: 322.8 kB / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.009638, allocations: 119.3 kB / 0.9859 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.00985, allocations: 155.7 kB / 0.9861 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.01013, allocations: 159.6 kB / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.01014, allocations: 4 kB / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000539/0.01068, allocations: 324.2 kB / 0.9865 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.01074, allocations: 67.39 kB / 0.9866 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01075, allocations: 8.125 kB / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01076, allocations: 0 / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.01079, allocations: 7.984 kB / 0.9866 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.0108, allocations: 3.938 kB / 0.9866 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.01117, allocations: 55.89 kB / 0.9867 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.0112, allocations: 11.98 kB / 0.9867 GB, free: 6.332 MB / 0.9356 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,or1.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.0001224/0.01132, allocations: 129.2 kB / 0.9868 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.01134, allocations: 7.891 kB / 0.9868 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.01136, allocations: 12.44 kB / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01136, allocations: 0 / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01137, allocations: 480 / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01137, allocations: 3.984 kB / 0.9868 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.0115, allocations: 121.3 kB / 0.9869 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.0115, allocations: 0 / 0.9869 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-06/0.01151, allocations: 3.938 kB / 0.9869 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01151, allocations: 7.875 kB / 0.9869 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01152, allocations: 4 kB / 0.987 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01153, allocations: 4 kB / 0.987 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01153, allocations: 0 / 0.987 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.01169, allocations: 109 kB / 0.9871 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.0117, allocations: 11.94 kB / 0.9871 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01172, allocations: 7.922 kB / 0.9871 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.01174, allocations: 0 / 0.9871 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.01179, allocations: 7.984 kB / 0.9871 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.0118, allocations: 4.062 kB / 0.9871 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.01185, allocations: 87.28 kB / 0.9872 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01185, allocations: 4 kB / 0.9872 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002574/0.01211, allocations: 31.98 kB / 0.9872 GB, free: 5.73 MB / 0.9356 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,or1.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.0001634/0.01227, allocations: 103.8 kB / 0.9873 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.01276, allocations: 282.5 kB / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01276, allocations: 4 kB / 0.9876 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.01281, allocations: 19.94 kB / 0.9876 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01305, allocations: 20.12 kB / 0.9876 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.01341, allocations: 149.8 kB / 0.9878 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.127e-05/0.01348, allocations: 75.58 kB / 0.9878 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.0135, allocations: 4 kB / 0.9878 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.01353, allocations: 12.5 kB / 0.9878 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.01353, allocations: 0 / 0.9878 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.005529/0.01906, allocations: 2.043 MB / 0.9898 GB, free: 2.984 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: 8.80259482562542]