Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 171.5 kB / 22.46 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.641/2.641, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.526e-05, allocations: 6.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002497/0.002532, allocations: 0.6267 MB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.00607, allocations: 1.44 MB / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.006112, allocations: 0 / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.006139, allocations: 3.938 kB / 0.9531 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.006222, allocations: 3.984 kB / 0.9531 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.006929, allocations: 135 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.505e-05/0.007024, allocations: 23.92 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.007092, allocations: 4 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.007189, allocations: 19.92 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.007275, allocations: 19.91 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.007299, allocations: 3.984 kB / 0.9533 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.00804, allocations: 243.5 kB / 0.9535 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.008069, allocations: 11.92 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.008099, allocations: 7.938 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.008614, allocations: 207.4 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008617, allocations: 0 / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.008618, allocations: 0 / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.008629, allocations: 0 / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007522/0.009381, allocations: 309.8 kB / 0.954 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.009425, allocations: 8.031 kB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.01006, allocations: 60.86 kB / 0.9541 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.01028, allocations: 109.8 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.01031, allocations: 4.375 kB / 0.9542 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.01035, allocations: 4.375 kB / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.01081, allocations: 74.2 kB / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01083, allocations: 192 / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.01084, allocations: 384 / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01085, allocations: 3.938 kB / 0.9542 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.01154, allocations: 79.84 kB / 0.9543 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.01178, allocations: 113.3 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.01283, allocations: 126.5 kB / 0.9546 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.01319, allocations: 40.77 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01321, allocations: 128 / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.01325, allocations: 38.5 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.562e-06/0.01325, allocations: 0 / 0.9546 GB, free: 7.707 MB / 0.8575 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.007734/0.02099, allocations: 0.7994 MB / 0.9554 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.02105, allocations: 51.41 kB / 0.9555 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.02122, allocations: 114.1 kB / 0.9556 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.02126, allocations: 29.7 kB / 0.9556 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.02132, allocations: 80.14 kB / 0.9557 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.0214, allocations: 31.73 kB / 0.9557 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.0215, allocations: 29.7 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.02171, allocations: 314.8 kB / 0.956 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/0.02256, allocations: 95.89 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.0234, allocations: 103.8 kB / 0.9562 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.02507, allocations: 188.7 kB / 0.9564 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02508, allocations: 0 / 0.9564 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001824/0.0269, allocations: 249.7 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.02692, allocations: 4 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.02693, allocations: 3.938 kB / 0.9566 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.02695, allocations: 4.094 kB / 0.9567 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.02753, allocations: 55.88 kB / 0.9567 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.02754, allocations: 4.062 kB / 0.9567 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.02796, allocations: 39.94 kB / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.02799, allocations: 4 kB / 0.9568 GB, free: 5.473 MB / 0.8575 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 (9): * Single equations (assignments): 9 * 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.0001502/0.02814, allocations: 121.8 kB / 0.9569 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.02819, allocations: 7.953 kB / 0.9569 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.02825, allocations: 12.38 kB / 0.9569 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.02826, allocations: 4 kB / 0.9569 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02827, allocations: 0 / 0.9569 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.02827, allocations: 0 / 0.9569 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.03132, allocations: 0.5308 MB / 0.9574 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.03132, allocations: 0 / 0.9574 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.03183, allocations: 51.94 kB / 0.9575 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.03184, allocations: 8 kB / 0.9575 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.03186, allocations: 11.98 kB / 0.9575 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.03187, allocations: 4.688 kB / 0.9575 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.03187, allocations: 0 / 0.9575 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.03373, allocations: 344.9 kB / 0.9578 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.03376, allocations: 3.953 kB / 0.9578 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.0338, allocations: 4 kB / 0.9578 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.03427, allocations: 39.95 kB / 0.9579 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.03434, allocations: 7.984 kB / 0.9579 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.03436, allocations: 8 kB / 0.9579 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.652e-05/0.03446, allocations: 91.27 kB / 0.958 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.03446, allocations: 4 kB / 0.958 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005508/0.03501, allocations: 43.86 kB / 0.958 GB, free: 4.113 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0003243/0.03534, allocations: 127.1 kB / 0.9581 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.03712, allocations: 207.7 kB / 0.9583 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03713, allocations: 0 / 0.9583 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.03801, allocations: 115.9 kB / 0.9584 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.03843, allocations: 14.56 kB / 0.9584 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.04133, allocations: 400.6 kB / 0.9588 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.04143, allocations: 71.28 kB / 0.9589 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.0416, allocations: 24.72 kB / 0.9589 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.04174, allocations: 20.48 kB / 0.9589 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.04174, allocations: 0 / 0.9589 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.0082/0.04994, allocations: 1.766 MB / 0.9607 GB, free: 1.34 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.677667535841465]