Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") [: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 10.0.0-master/package.mo): time 1.986/1.986, allocations: 390.4 MB / 397.7 MB, free: 1.945 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 182.8 kB / 490.8 MB, free: 7.516 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.3 MB / 0.7863 GB, free: 284 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.55 kB / 0.9264 GB, free: 0.668 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.755e-06, allocations: 0 / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 143 MB / 1.212 GB, free: 10.6 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6108/0.8628, allocations: 149.3 MB / 1.357 GB, free: 12.84 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.8632, allocations: 91.92 kB / 1.357 GB, free: 12.75 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.001462/0.8647, allocations: 314.7 kB / 1.358 GB, free: 12.45 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8647, allocations: 0 / 1.358 GB, free: 12.45 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003217/0.865, allocations: 334.4 kB / 1.358 GB, free: 12.08 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.8651, allocations: 12.02 kB / 1.358 GB, free: 12.07 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.8651, allocations: 3.906 kB / 1.358 GB, free: 12.07 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.8652, allocations: 167.1 kB / 1.358 GB, free: 11.86 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8653, allocations: 0 / 1.358 GB, free: 11.86 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.8653, allocations: 0 / 1.358 GB, free: 11.86 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.682e-05/0.8653, allocations: 15.77 kB / 1.358 GB, free: 11.85 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.283e-05/0.8654, allocations: 41.62 kB / 1.358 GB, free: 11.8 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8654, allocations: 0 / 1.358 GB, free: 11.8 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.8654, allocations: 4 kB / 1.358 GB, free: 11.8 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.8655, allocations: 7.906 kB / 1.358 GB, free: 11.79 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.8659, allocations: 237.5 kB / 1.359 GB, free: 11.52 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.8659, allocations: 25.73 kB / 1.359 GB, free: 11.49 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.866, allocations: 8.797 kB / 1.359 GB, free: 11.48 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.866, allocations: 0 / 1.359 GB, free: 11.48 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.866, allocations: 39.34 kB / 1.359 GB, free: 11.43 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.866, allocations: 4.062 kB / 1.359 GB, free: 11.43 MB / 0.8311 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.8662, allocations: 33.69 kB / 1.359 GB, free: 11.39 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.8662, allocations: 51.41 kB / 1.359 GB, free: 11.33 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.8663, allocations: 97.03 kB / 1.359 GB, free: 11.23 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.8663, allocations: 25.7 kB / 1.359 GB, free: 11.2 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.8663, allocations: 80.14 kB / 1.359 GB, free: 11.11 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.8663, allocations: 7.906 kB / 1.359 GB, free: 11.11 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.8664, allocations: 0 / 1.359 GB, free: 11.11 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.8665, allocations: 314.8 kB / 1.359 GB, free: 10.79 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.8665, allocations: 4 kB / 1.359 GB, free: 10.79 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.8665, allocations: 4 kB / 1.359 GB, free: 10.78 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.657e-05/0.8665, allocations: 8 kB / 1.359 GB, free: 10.77 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8665, allocations: 0 / 1.359 GB, free: 10.77 MB / 0.8311 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.554e-05/0.8666, allocations: 37.7 kB / 1.359 GB, free: 10.73 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.8666, allocations: 6.969 kB / 1.359 GB, free: 10.73 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8666, allocations: 0 / 1.359 GB, free: 10.73 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8666, allocations: 7.906 kB / 1.359 GB, free: 10.72 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.8667, allocations: 11.98 kB / 1.359 GB, free: 10.71 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.8667, allocations: 4.031 kB / 1.359 GB, free: 10.7 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.8668, allocations: 7.938 kB / 1.359 GB, free: 10.7 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.8668, allocations: 0.8125 kB / 1.359 GB, free: 10.7 MB / 0.8311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.981e-05/0.8669, allocations: 109 kB / 1.359 GB, free: 10.58 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.8669, allocations: 0.75 kB / 1.359 GB, free: 10.58 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.8669, allocations: 11.05 kB / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8669, allocations: 0 / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.867, allocations: 7.828 kB / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.867, allocations: 4 kB / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.8671, allocations: 130.2 kB / 1.36 GB, free: 10.4 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8671, allocations: 4 kB / 1.36 GB, free: 10.4 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.8672, allocations: 11.98 kB / 1.36 GB, free: 10.39 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8672, allocations: 4 kB / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.8672, allocations: 0 / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8672, allocations: 0 / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8672, allocations: 15.78 kB / 1.36 GB, free: 10.37 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.219e-05/0.8673, allocations: 131.5 kB / 1.36 GB, free: 10.22 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.8673, allocations: 77.11 kB / 1.36 GB, free: 10.13 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.8674, allocations: 3.906 kB / 1.36 GB, free: 10.12 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.8675, allocations: 12.03 kB / 1.36 GB, free: 10.11 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.8675, allocations: 3.984 kB / 1.36 GB, free: 10.11 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.8675, allocations: 0 / 1.36 GB, free: 10.11 MB / 0.8311 GB Notification: Performance of sort global known variables: time 3.599e-05/0.8676, allocations: 83.28 kB / 1.36 GB, free: 10.03 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0002238/0.8678, allocations: 4 kB / 1.36 GB, free: 10.02 MB / 0.8311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001055/0.8679, allocations: 95.25 kB / 1.36 GB, free: 9.922 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 7.19e-05/0.868, allocations: 4 kB / 1.36 GB, free: 9.918 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.868, allocations: 64 / 1.36 GB, free: 9.918 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.868, allocations: 15.94 kB / 1.36 GB, free: 9.902 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.8682, allocations: 4 kB / 1.36 GB, free: 9.898 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.8684, allocations: 51.92 kB / 1.36 GB, free: 9.824 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.8687, allocations: 0.6919 MB / 1.361 GB, free: 9.105 MB / 0.8311 GB Notification: Performance of SimCode: time 2.2e-07/0.8687, allocations: 0 / 1.361 GB, free: 9.105 MB / 0.8311 GB Notification: Performance of Templates: time 0.001995/0.8707, allocations: 376.7 kB / 1.361 GB, free: 8.742 MB / 0.8311 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches