Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001904/0.001904, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 469.4 MB / 0.7428 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 68.11 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 159.1 MB / 1.221 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001882/1.043, allocations: 0.5742 MB / 1.221 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/1.044, allocations: 55.78 kB / 1.222 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/1.044, allocations: 4 kB / 1.222 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/1.044, allocations: 0 / 1.222 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/1.044, allocations: 0 / 1.222 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/1.044, allocations: 19.92 kB / 1.222 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.674e-05/1.044, allocations: 0 / 1.222 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/1.044, allocations: 0 / 1.222 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/1.044, allocations: 3.938 kB / 1.222 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/1.044, allocations: 7.984 kB / 1.222 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/1.044, allocations: 0 / 1.222 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/1.044, allocations: 19.97 kB / 1.222 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/1.044, allocations: 4 kB / 1.222 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/1.045, allocations: 4 kB / 1.222 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/1.045, allocations: 11.98 kB / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.045, allocations: 0 / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.045, allocations: 0 / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.045, allocations: 0 / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003996/1.045, allocations: 318.2 kB / 1.222 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.045, allocations: 8.625 kB / 1.222 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/1.045, allocations: 24.91 kB / 1.222 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.046, allocations: 168.4 kB / 1.222 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/1.046, allocations: 384 / 1.222 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/1.046, allocations: 4.312 kB / 1.222 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.046, allocations: 34.25 kB / 1.222 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/1.046, allocations: 192 / 1.222 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.046, allocations: 3.938 kB / 1.222 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/1.046, allocations: 0 / 1.222 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/1.046, allocations: 15.98 kB / 1.222 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/1.046, allocations: 145.7 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/1.046, allocations: 30.48 kB / 1.222 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/1.046, allocations: 16.84 kB / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/1.046, allocations: 0 / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.046, allocations: 30.56 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/1.046, allocations: 4 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002501/1.047, allocations: 49.61 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.047, allocations: 51.41 kB / 1.222 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/1.047, allocations: 89.86 kB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.047, allocations: 25.7 kB / 1.223 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/1.047, allocations: 80.14 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/1.047, allocations: 11.91 kB / 1.223 GB, free: 480 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/1.047, allocations: 13.84 kB / 1.223 GB, free: 460 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.047, allocations: 310.8 kB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/1.047, allocations: 7.984 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/1.047, allocations: 7.938 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/1.047, allocations: 16.84 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.047, allocations: 0 / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001225/1.047, allocations: 45.75 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.047, allocations: 7.984 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.047, allocations: 0 / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.047, allocations: 3.938 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/1.047, allocations: 4 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.047, allocations: 0 / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/1.047, allocations: 4 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.048, allocations: 0 / 1.223 GB, free: 32 kB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.048, allocations: 118.3 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/1.048, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/1.048, allocations: 3.125 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.048, allocations: 7.938 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.048, allocations: 4 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/1.048, allocations: 77.11 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/1.048, allocations: 0 / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/1.048, allocations: 0 / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/1.048, allocations: 7.984 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001787/1.048, allocations: 121 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001967/1.048, allocations: 214.7 kB / 1.224 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.096e-05/1.048, allocations: 11.94 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.766e-05/1.048, allocations: 79.34 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of Backend: time 2.8e-07/1.048, allocations: 0 / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004308/1.049, allocations: 91.78 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003937/1.049, allocations: 0.5253 MB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.002567/1.052, allocations: 454.9 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches