Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_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_9_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.001034/0.001033, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009755/0.0009756, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9382/0.9386, allocations: 142.3 MB / 0.9535 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008365/0.9395, allocations: 373.9 kB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.9408, allocations: 1.13 MB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.9409, allocations: 0.9375 kB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.9409, allocations: 3.938 kB / 0.955 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.941, allocations: 14.55 kB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.9416, allocations: 197.2 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.9417, allocations: 83.2 kB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.9418, allocations: 4.125 kB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.9419, allocations: 63.06 kB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.942, allocations: 49.39 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.9421, allocations: 7.312 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.9421, allocations: 26.83 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.9422, allocations: 3.375 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.9422, allocations: 40.83 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.9424, allocations: 103.8 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9424, allocations: 0 / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9424, allocations: 0 / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.716e-06/0.9424, allocations: 0 / 0.9556 GB, free: 6.75 MB / 0.7169 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.0004094/0.9428, allocations: 408.6 kB / 0.956 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9428, allocations: 13.25 kB / 0.956 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.9429, allocations: 14.52 kB / 0.956 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.943, allocations: 174.2 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.943, allocations: 4.906 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.9431, allocations: 9.219 kB / 0.9562 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.9432, allocations: 54.58 kB / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9432, allocations: 0 / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.9432, allocations: 1.25 kB / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.9432, allocations: 0 / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.9433, allocations: 15.64 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.9437, allocations: 360 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.9438, allocations: 35.77 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.9438, allocations: 1 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.944, allocations: 83.58 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.944, allocations: 4 kB / 0.9567 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002468/0.9443, allocations: 103.4 kB / 0.9568 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.9443, allocations: 52.53 kB / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.9444, allocations: 122.5 kB / 0.957 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.9445, allocations: 34.52 kB / 0.957 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.9445, allocations: 92.89 kB / 0.9571 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.9445, allocations: 10.23 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.9446, allocations: 7.25 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.9446, allocations: 321.1 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9448, allocations: 58.34 kB / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.9449, allocations: 93.84 kB / 0.9575 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.945, allocations: 111 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.945, allocations: 0 / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003722/0.9454, allocations: 265 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.9455, allocations: 69.95 kB / 0.958 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9455, allocations: 1.375 kB / 0.958 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9455, allocations: 5.266 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.9455, allocations: 2.688 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9455, allocations: 5.188 kB / 0.958 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.946, allocations: 83.08 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.946, allocations: 12.38 kB / 0.9581 GB, free: 4.367 MB / 0.7169 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.9461, allocations: 127.4 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.9461, allocations: 2.938 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.9461, allocations: 9.875 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.9461, allocations: 1.469 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.9462, allocations: 3.953 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9462, allocations: 5.594 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.9463, allocations: 172.4 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9463, allocations: 0 / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.9463, allocations: 1.875 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9463, allocations: 9.875 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.9463, allocations: 0 / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.9463, allocations: 6.125 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9463, allocations: 0 / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.9465, allocations: 118.9 kB / 0.9585 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.9465, allocations: 82.14 kB / 0.9586 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.9465, allocations: 5.047 kB / 0.9586 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.9465, allocations: 1.312 kB / 0.9586 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.9466, allocations: 11 kB / 0.9586 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.9466, allocations: 6.453 kB / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.9466, allocations: 90.8 kB / 0.9587 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9466, allocations: 0 / 0.9587 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002325/0.9469, allocations: 27.38 kB / 0.9587 GB, free: 3.711 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.947, allocations: 106.9 kB / 0.9588 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.9473, allocations: 243.5 kB / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9474, allocations: 4.25 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.9474, allocations: 32.09 kB / 0.9591 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.9476, allocations: 11.19 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.9479, allocations: 164.3 kB / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.948, allocations: 0.6929 MB / 0.9599 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.9481, allocations: 11.84 kB / 0.9599 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.9481, allocations: 10.19 kB / 0.96 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.9481, allocations: 1.375 kB / 0.96 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.004287/0.9524, allocations: 1.682 MB / 0.9616 GB, free: 1.672 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches