Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 98.12 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.597e-06/8.627e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5173/0.7004, allocations: 131.7 MB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.7006, allocations: 72.5 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002243/0.7029, allocations: 0.6024 MB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7029, allocations: 0 / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004347/0.7033, allocations: 362.8 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7034, allocations: 11.97 kB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.7034, allocations: 7.906 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7035, allocations: 178.2 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.7036, allocations: 7.984 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.7036, allocations: 4 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.783e-05/0.7037, allocations: 18.31 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.7037, allocations: 40.69 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7038, allocations: 3.938 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7038, allocations: 6.938 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7038, allocations: 0 / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.7041, allocations: 265.3 kB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.7042, allocations: 40.77 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.7042, allocations: 16.67 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7043, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/0.7043, allocations: 58.41 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7043, allocations: 2.734 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001475/0.7045, allocations: 68.16 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.7045, allocations: 55.41 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.7046, allocations: 108.4 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7046, allocations: 25.7 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.7047, allocations: 88.05 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.7047, allocations: 7.656 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.7047, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7048, allocations: 325.5 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.7049, allocations: 11.38 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.7049, allocations: 34.02 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.7049, allocations: 19.38 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7049, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001127/0.7051, allocations: 73.27 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7051, allocations: 10.19 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.7051, allocations: 0 / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.7051, allocations: 4.062 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.7052, allocations: 7.938 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7052, allocations: 4 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.7053, allocations: 11.98 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.7053, allocations: 4 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.362e-05/0.7053, allocations: 112.2 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7054, allocations: 3.906 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.7054, allocations: 15.73 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7054, allocations: 0 / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7054, allocations: 3.938 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7054, allocations: 3.906 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.7056, allocations: 146 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7056, allocations: 4 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.7056, allocations: 4.172 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7056, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.7056, allocations: 8.688 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.7056, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7056, allocations: 7.938 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001083/0.7057, allocations: 87.52 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.7058, allocations: 85.02 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.7058, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.7059, allocations: 23.98 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.706, allocations: 15.91 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.706, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.079e-05/0.706, allocations: 87.09 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002285/0.7063, allocations: 15.91 kB / 1.016 GB, free: 4.004 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001062/0.7064, allocations: 99.23 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.7065, allocations: 46 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.7065, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.7065, allocations: 22.31 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.7067, allocations: 10.73 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.707, allocations: 97.58 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.7073, allocations: 0.6998 MB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.7073, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of Templates: time 0.002676/0.71, allocations: 0.8517 MB / 1.018 GB, free: 2.168 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches