Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, 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.001289/0.001289, allocations: 199.2 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 62.61 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2874, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001967/0.2894, allocations: 0.7155 MB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2909, allocations: 1.209 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.291, allocations: 0 / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.291, allocations: 4 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.2911, allocations: 11.91 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.2917, allocations: 205 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2919, allocations: 151.7 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.292, allocations: 12 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2921, allocations: 63.81 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.2922, allocations: 43.88 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.2923, allocations: 8 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.2924, allocations: 27.97 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2924, allocations: 11.94 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.2925, allocations: 47.89 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2926, allocations: 99.78 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2926, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2926, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2927, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 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.0005035/0.2932, allocations: 446.9 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2932, allocations: 15.97 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.2933, allocations: 8.844 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2934, allocations: 176.3 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2934, allocations: 4.375 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.2935, allocations: 12.38 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2936, allocations: 50.19 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2936, allocations: 192 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2936, allocations: 7.922 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2936, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2937, allocations: 15.98 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.2942, allocations: 352.7 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.2942, allocations: 38.55 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.2943, allocations: 24.84 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.2943, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2945, allocations: 79.38 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.2945, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002412/0.2947, allocations: 105.5 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2948, allocations: 55.39 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.2949, allocations: 117.8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2949, allocations: 29.7 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.295, allocations: 96.14 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.295, allocations: 15.8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.2951, allocations: 49.69 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.2952, allocations: 318.8 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2954, allocations: 55.97 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2955, allocations: 96.62 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2957, allocations: 163.6 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2957, allocations: 0 / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004194/0.2962, allocations: 260.8 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.2962, allocations: 71.34 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2962, allocations: 8.109 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2962, allocations: 0 / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-05/0.2963, allocations: 8.062 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2963, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.2966, allocations: 47.94 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.2967, allocations: 19.98 kB / 1.058 GB, free: 2.691 MB / 0.8106 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 9.475e-05/0.2968, allocations: 129.7 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.2968, allocations: 11.84 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.2968, allocations: 8.359 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2968, allocations: 3.938 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2969, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.297, allocations: 181.6 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.297, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.297, allocations: 7.984 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.297, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.297, allocations: 4 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.297, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.297, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2972, allocations: 113.3 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2972, allocations: 85.02 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2972, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.2973, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2973, allocations: 15.92 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2973, allocations: 4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.2974, allocations: 95.2 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2974, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002403/0.2976, allocations: 32 kB / 1.059 GB, free: 1.918 MB / 0.8106 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.0001424/0.2978, allocations: 107.2 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.2981, allocations: 242.7 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2981, allocations: 4.25 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.2982, allocations: 35.97 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2984, allocations: 18.52 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.2988, allocations: 186.1 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.299, allocations: 0.6926 MB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.2991, allocations: 15.44 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2991, allocations: 0 / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of Templates: time 0.002935/0.302, allocations: 1.354 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches