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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7645 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001992/0.001992, allocations: 63.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8359, allocations: 168.7 MB / 1.274 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001834/0.8377, allocations: 0.6451 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.8397, allocations: 1.458 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.8397, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.8397, allocations: 3.938 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.8398, allocations: 15.92 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.8402, allocations: 115.5 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.8403, allocations: 27.92 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.8404, allocations: 0 / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.8404, allocations: 15.92 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.8405, allocations: 19.91 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.8405, allocations: 8 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.841, allocations: 319.3 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.841, allocations: 11.91 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.841, allocations: 11.94 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.8413, allocations: 190.1 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8413, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8413, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8413, allocations: 3.938 kB / 1.277 GB, free: 1.605 MB / 0.9669 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.0005821/0.8419, allocations: 386.9 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.8419, allocations: 8.031 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.8423, allocations: 64.81 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.8426, allocations: 172.3 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8426, allocations: 384 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.8426, allocations: 4.375 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.8429, allocations: 81.89 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.8429, allocations: 7.953 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8429, allocations: 4 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.8429, allocations: 0 / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.8433, allocations: 75.91 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.8435, allocations: 165.7 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.8441, allocations: 122.4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.8443, allocations: 44.94 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.8443, allocations: 0 / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.8443, allocations: 34.5 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.8443, allocations: 0 / 1.278 GB, free: 304 kB / 0.9669 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.004239/0.8486, allocations: 0.7885 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.8486, allocations: 55.34 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.8487, allocations: 117.8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.8488, allocations: 29.7 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.8488, allocations: 88.12 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.8489, allocations: 27.75 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.8489, allocations: 25.7 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8491, allocations: 318.8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.8495, allocations: 95.91 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.85, allocations: 99.89 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.8508, allocations: 196.8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8508, allocations: 4 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009637/0.8518, allocations: 241.4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8518, allocations: 4 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8518, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.8518, allocations: 3.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.8522, allocations: 55.89 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8522, allocations: 7.922 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.8524, allocations: 31.97 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.8524, allocations: 11.98 kB / 1.28 GB, free: 14.06 MB / 0.9825 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.0001082/0.8525, allocations: 115.5 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.8526, allocations: 12.69 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.8526, allocations: 12.38 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8526, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8526, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8526, allocations: 3.984 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.8544, allocations: 0.6052 MB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8544, allocations: 4 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.8547, allocations: 56 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8547, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8547, allocations: 4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8547, allocations: 400 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8547, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.8558, allocations: 344.9 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.8558, allocations: 81.06 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.8558, allocations: 12.17 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.8561, allocations: 31.97 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.8561, allocations: 15.86 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.8562, allocations: 7.984 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.8562, allocations: 99.2 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8562, allocations: 4 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003055/0.8565, allocations: 35.92 kB / 1.281 GB, free: 12.52 MB / 0.9825 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.00022/0.8567, allocations: 131.6 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009814/0.8577, allocations: 203.7 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8577, allocations: 4 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.8582, allocations: 108 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.8584, allocations: 16.41 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.8601, allocations: 423.7 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.8604, allocations: 0.6885 MB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.306e-05/0.8605, allocations: 16.67 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.8606, allocations: 19.42 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8606, allocations: 0 / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.004623/0.8652, allocations: 1.699 MB / 1.285 GB, free: 9.168 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.055393498856574]