Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_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.001483/0.001483, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001704/0.001704, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.92 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2346, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001919/0.2366, allocations: 0.5842 MB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.2368, allocations: 55.78 kB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.2369, allocations: 4 kB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.2369, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.2369, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.2371, allocations: 11.98 kB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.04e-05/0.2372, allocations: 8 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.2372, allocations: 3.984 kB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.2372, allocations: 3.938 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.2372, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.2373, allocations: 3.938 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.2374, allocations: 23.97 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.2374, allocations: 4 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.2374, allocations: 0 / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.578e-05/0.2375, allocations: 15.98 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2375, allocations: 0 / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2375, allocations: 0 / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.2375, allocations: 0 / 0.9518 GB, free: 7.32 MB / 0.7325 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.0002441/0.2377, allocations: 315.6 kB / 0.9521 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2378, allocations: 8.031 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.238, allocations: 24.91 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.913e-05/0.2381, allocations: 168.3 kB / 0.9523 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2381, allocations: 384 / 0.9523 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2382, allocations: 384 / 0.9523 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2383, allocations: 38.25 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.2383, allocations: 192 / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2383, allocations: 3.938 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2383, allocations: 0 / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.2384, allocations: 19.92 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.2385, allocations: 145.7 kB / 0.9525 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.2386, allocations: 22.55 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.2387, allocations: 16.91 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2387, allocations: 0 / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.2387, allocations: 30.56 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2387, allocations: 4 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002331/0.239, allocations: 57.45 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.239, allocations: 51.41 kB / 0.9527 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.404e-05/0.2391, allocations: 89.86 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2391, allocations: 25.7 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.2391, allocations: 80.14 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.2391, allocations: 4 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2392, allocations: 17.84 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.2393, allocations: 310.8 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.2393, allocations: 7.984 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.2394, allocations: 4 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.2395, allocations: 12.84 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2395, allocations: 4.062 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001178/0.2396, allocations: 49.61 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2396, allocations: 4 kB / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2396, allocations: 0 / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2396, allocations: 7.938 kB / 0.9533 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.2397, allocations: 4 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2397, allocations: 3.984 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.2398, allocations: 8 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2398, allocations: 3.984 kB / 0.9533 GB, free: 5.582 MB / 0.7325 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 6.044e-05/0.2399, allocations: 111.8 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.2399, allocations: 0 / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.2399, allocations: 7.062 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2399, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2399, allocations: 4 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2399, allocations: 0 / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.24, allocations: 145.7 kB / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.24, allocations: 0 / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2401, allocations: 7.938 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2401, allocations: 4 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.2401, allocations: 3.938 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2401, allocations: 3.938 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2401, allocations: 3.984 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2402, allocations: 73.05 kB / 0.9536 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.2403, allocations: 77.11 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2403, allocations: 7.969 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.2403, allocations: 0 / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.2404, allocations: 4 kB / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2404, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.414e-05/0.2404, allocations: 79.27 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2404, allocations: 0 / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001795/0.2406, allocations: 0 / 0.9538 GB, free: 4.965 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2407, allocations: 99.25 kB / 0.9539 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.2408, allocations: 19.98 kB / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2409, allocations: 0 / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.2409, allocations: 7.938 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.241, allocations: 3.984 kB / 0.9539 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.2413, allocations: 83.08 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2415, allocations: 0.6768 MB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.2415, allocations: 4 kB / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.2416, allocations: 7.438 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2416, allocations: 0 / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Templates: time 0.001865/0.2434, allocations: 228.1 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches