Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 4.547 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000927/0.000927, allocations: 195 kB / 487 MB, free: 11.11 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 4.07 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 95.02 kB / 0.9213 GB, free: 5.176 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 6.473e-06/6.493e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 142.3 MB / 1.205 GB, free: 14.8 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.7182, allocations: 148.6 MB / 1.35 GB, free: 3.621 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.7184, allocations: 67.95 kB / 1.35 GB, free: 3.555 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.007637/0.7261, allocations: 2.626 MB / 1.353 GB, free: 0.9414 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.7261, allocations: 0 / 1.353 GB, free: 0.9414 MB / 0.8153 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.0003166/0.7264, allocations: 417.7 kB / 1.353 GB, free: 488 kB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.7264, allocations: 8.031 kB / 1.353 GB, free: 480 kB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.7265, allocations: 11.94 kB / 1.353 GB, free: 468 kB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.7266, allocations: 167 kB / 1.354 GB, free: 260 kB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.7266, allocations: 4 kB / 1.354 GB, free: 256 kB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.7267, allocations: 11.98 kB / 1.354 GB, free: 244 kB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.397e-05/0.7267, allocations: 12 kB / 1.354 GB, free: 232 kB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.055e-05/0.7268, allocations: 49.62 kB / 1.354 GB, free: 176 kB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.7268, allocations: 0 / 1.354 GB, free: 176 kB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7268, allocations: 3.984 kB / 1.354 GB, free: 172 kB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7268, allocations: 4 kB / 1.354 GB, free: 168 kB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.7273, allocations: 341.2 kB / 1.354 GB, free: 15.79 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/0.7273, allocations: 26.58 kB / 1.354 GB, free: 15.76 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.7274, allocations: 16.86 kB / 1.354 GB, free: 15.74 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.7274, allocations: 0 / 1.354 GB, free: 15.74 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.462e-05/0.7275, allocations: 75.38 kB / 1.354 GB, free: 15.65 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7275, allocations: 0 / 1.354 GB, free: 15.65 MB / 0.8309 GB Notification: Performance of matching and sorting (n=7): time 0.0001552/0.7276, allocations: 77.53 kB / 1.354 GB, free: 15.57 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.7277, allocations: 51.41 kB / 1.354 GB, free: 15.51 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.7277, allocations: 113.1 kB / 1.354 GB, free: 15.39 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.7278, allocations: 29.7 kB / 1.354 GB, free: 15.35 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.7278, allocations: 92.23 kB / 1.354 GB, free: 15.26 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.7278, allocations: 7.891 kB / 1.354 GB, free: 15.25 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.7279, allocations: 8 kB / 1.354 GB, free: 15.24 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.728, allocations: 318.8 kB / 1.355 GB, free: 14.92 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.7281, allocations: 55.98 kB / 1.355 GB, free: 14.87 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.7282, allocations: 84.28 kB / 1.355 GB, free: 14.77 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.7285, allocations: 72.33 kB / 1.355 GB, free: 14.7 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7285, allocations: 7.938 kB / 1.355 GB, free: 14.69 MB / 0.8309 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004613/0.729, allocations: 197.4 kB / 1.355 GB, free: 14.49 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.729, allocations: 4 kB / 1.355 GB, free: 14.49 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.729, allocations: 0 / 1.355 GB, free: 14.49 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.729, allocations: 4 kB / 1.355 GB, free: 14.48 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.702e-05/0.729, allocations: 7.938 kB / 1.355 GB, free: 14.48 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.729, allocations: 4.125 kB / 1.355 GB, free: 14.47 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.7293, allocations: 75.94 kB / 1.355 GB, free: 14.4 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.7294, allocations: 15.98 kB / 1.355 GB, free: 14.38 MB / 0.8309 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,xor1.y) * Number of discrete 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 7.327e-05/0.7295, allocations: 112.9 kB / 1.355 GB, free: 14.27 MB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.7295, allocations: 4 kB / 1.355 GB, free: 14.26 MB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.7295, allocations: 8.375 kB / 1.355 GB, free: 14.26 MB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7295, allocations: 7.844 kB / 1.355 GB, free: 14.25 MB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7295, allocations: 0 / 1.355 GB, free: 14.25 MB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7295, allocations: 7.984 kB / 1.355 GB, free: 14.24 MB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.7297, allocations: 150.2 kB / 1.355 GB, free: 14.06 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7297, allocations: 4 kB / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.7297, allocations: 3.938 kB / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7297, allocations: 4 kB / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.7297, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7297, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7297, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8309 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001068/0.7298, allocations: 100.9 kB / 1.356 GB, free: 13.93 MB / 0.8309 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.7299, allocations: 77.11 kB / 1.356 GB, free: 13.84 MB / 0.8309 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7299, allocations: 4 kB / 1.356 GB, free: 13.83 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.7299, allocations: 7.891 kB / 1.356 GB, free: 13.82 MB / 0.8309 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.73, allocations: 7.984 kB / 1.356 GB, free: 13.82 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.73, allocations: 12.06 kB / 1.356 GB, free: 13.8 MB / 0.8309 GB Notification: Performance of sort global known variables: time 3.275e-05/0.73, allocations: 91.22 kB / 1.356 GB, free: 13.71 MB / 0.8309 GB Notification: Performance of remove unused functions: time 0.000214/0.7302, allocations: 28 kB / 1.356 GB, free: 13.69 MB / 0.8309 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,xor1.y) * Number of discrete 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.0001278/0.7304, allocations: 115.1 kB / 1.356 GB, free: 13.56 MB / 0.8309 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.7306, allocations: 159.3 kB / 1.356 GB, free: 13.39 MB / 0.8309 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7306, allocations: 0 / 1.356 GB, free: 13.39 MB / 0.8309 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.7306, allocations: 27.97 kB / 1.356 GB, free: 13.37 MB / 0.8309 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.7308, allocations: 12 kB / 1.356 GB, free: 13.36 MB / 0.8309 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.731, allocations: 88.88 kB / 1.356 GB, free: 13.25 MB / 0.8309 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.7312, allocations: 0.6999 MB / 1.357 GB, free: 12.52 MB / 0.8309 GB Notification: Performance of SimCode: time 2.2e-07/0.7312, allocations: 4 kB / 1.357 GB, free: 12.52 MB / 0.8309 GB Notification: Performance of Templates: time 0.003263/0.7345, allocations: 1.607 MB / 1.358 GB, free: 10.93 MB / 0.8309 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches