Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009782, allocations: 100.8 kB / 16.35 MB, free: 5.824 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.0009486/0.0009486, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.184/2.184, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 65 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2455, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002281/0.2479, allocations: 1.454 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000382/0.2482, allocations: 156.3 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.2483, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.2483, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.2484, allocations: 7.922 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2486, allocations: 39.91 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.2487, allocations: 19.92 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.2488, allocations: 15.94 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.2488, allocations: 3.984 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.2489, allocations: 11.94 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2489, allocations: 7.984 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.249, allocations: 35.91 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.249, allocations: 3.984 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.249, allocations: 11.94 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2491, allocations: 39.94 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2491, allocations: 0 / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2492, allocations: 0 / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2492, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 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.000376/0.2495, allocations: 347.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.2496, allocations: 12.02 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2496, allocations: 4.844 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2497, allocations: 164.4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.2497, allocations: 384 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2498, allocations: 4.375 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2499, allocations: 54.17 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2499, allocations: 192 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2499, allocations: 7.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.25, allocations: 4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2501, allocations: 35.95 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.2504, allocations: 244.9 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2505, allocations: 46.44 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.2506, allocations: 24.89 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.2507, allocations: 85.11 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2507, allocations: 34.55 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2508, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002921/0.251, allocations: 77.66 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2511, allocations: 59.39 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.2512, allocations: 93.86 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2512, allocations: 25.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.2512, allocations: 84.14 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.2512, allocations: 11.84 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2513, allocations: 13.7 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2514, allocations: 323 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.2514, allocations: 11.98 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.2515, allocations: 15.98 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.2516, allocations: 40.81 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2516, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.2518, allocations: 73.58 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2518, allocations: 7.984 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2519, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.2519, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.2519, allocations: 11.94 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.252, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.252, allocations: 11.92 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.252, allocations: 4.031 kB / 1.03 GB, free: 14.09 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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 5.903e-05/0.2521, allocations: 109.8 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2521, allocations: 8 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.2523, allocations: 68.77 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2523, allocations: 192 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2523, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2523, allocations: 3.984 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2525, allocations: 165.6 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2525, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.2525, allocations: 7.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2525, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.2526, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2526, allocations: 7.938 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2526, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2528, allocations: 167.5 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2528, allocations: 84.95 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.2528, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.2529, allocations: 11.92 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.2529, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2529, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.253, allocations: 87.27 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.253, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002129/0.2532, allocations: 16.03 kB / 1.031 GB, free: 13.25 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0001481/0.2534, allocations: 111.2 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.2535, allocations: 39.89 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2536, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.2536, allocations: 24.05 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2539, allocations: 3.938 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.2541, allocations: 97.62 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2543, allocations: 0.6768 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.2543, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.2543, allocations: 11.44 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 7.714e-06/0.2544, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.002337/0.2567, allocations: 0.6503 MB / 1.033 GB, free: 11.59 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches