Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001693/0.001693, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5938, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001856/0.5957, allocations: 0.7072 MB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.5974, allocations: 1.443 MB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.5975, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.5975, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.5976, allocations: 7.922 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.598, allocations: 95.77 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.5981, allocations: 23.92 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.5981, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.5982, allocations: 23.91 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.5982, allocations: 15.92 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.5983, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.5987, allocations: 327.3 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.5987, allocations: 7.922 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.5988, allocations: 11.94 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.5991, allocations: 181.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5991, allocations: 4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5991, allocations: 3.938 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.5991, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 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.000499/0.5996, allocations: 383.3 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5996, allocations: 8.031 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.6, allocations: 64.77 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6002, allocations: 168.3 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.6002, allocations: 384 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6002, allocations: 8.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.6005, allocations: 73.8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6005, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.6005, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6005, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.6009, allocations: 71.91 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.6011, allocations: 173.6 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.6016, allocations: 126.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.6018, allocations: 44.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6018, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.6019, allocations: 38.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.6019, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 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.004115/0.606, allocations: 0.7843 MB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.606, allocations: 59.41 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.6061, allocations: 113.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.6061, allocations: 25.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.6062, allocations: 88.12 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6062, allocations: 27.56 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.6063, allocations: 25.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.6064, allocations: 318.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.6068, allocations: 99.91 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.6073, allocations: 95.89 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.6081, allocations: 196.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6081, allocations: 4.188 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008935/0.609, allocations: 237.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.609, allocations: 7.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.609, allocations: 7.984 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.609, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.6093, allocations: 59.88 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6094, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.6096, allocations: 35.97 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.6096, allocations: 3.984 kB / 1.023 GB, free: 12.34 MB / 0.7794 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 8.438e-05/0.6097, allocations: 118.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.6097, allocations: 7.906 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.6098, allocations: 12.38 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6098, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6098, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6098, allocations: 11.97 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.6115, allocations: 0.5973 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6115, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.6118, allocations: 56 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6118, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.6118, allocations: 4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6118, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6118, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/0.6128, allocations: 344.9 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.6128, allocations: 85.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.6129, allocations: 7.984 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.6131, allocations: 35.91 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.6132, allocations: 15.92 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6132, allocations: 7.984 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.6132, allocations: 99.59 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6132, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002947/0.6135, allocations: 47.92 kB / 1.024 GB, free: 10.8 MB / 0.7794 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.0001856/0.6137, allocations: 123.2 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009287/0.6147, allocations: 215.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6147, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.6151, allocations: 108 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.6154, allocations: 10.06 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.6169, allocations: 418.3 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.6171, allocations: 0.6885 MB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.6172, allocations: 16.67 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.6173, allocations: 19.42 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.6173, allocations: 4 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.003813/0.6211, allocations: 1.639 MB / 1.027 GB, free: 7.508 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches