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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008811/0.008811, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002322/0.002322, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.777/2.777, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3437, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002201/0.346, allocations: 0.6351 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.3487, allocations: 1.451 MB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.3487, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3487, allocations: 7.875 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.942e-05/0.3489, allocations: 3.984 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.3495, allocations: 123.5 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.3496, allocations: 31.86 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.3496, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.3497, allocations: 15.92 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.3498, allocations: 19.91 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3498, allocations: 8 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.3505, allocations: 315.4 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.3506, allocations: 3.938 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.3506, allocations: 23.84 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.351, allocations: 187.8 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.351, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3511, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3511, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 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.000702/0.3518, allocations: 386.9 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3518, allocations: 12.03 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.3519, allocations: 34.75 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.3524, allocations: 60.81 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3526, allocations: 168.4 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3527, allocations: 384 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3527, allocations: 384 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3531, allocations: 81.7 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3531, allocations: 7.984 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3532, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3532, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.3538, allocations: 71.91 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.3541, allocations: 177.5 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.3549, allocations: 122.4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.3552, allocations: 48.94 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3553, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3553, allocations: 34.5 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3553, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 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.00592/0.3612, allocations: 0.7819 MB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3613, allocations: 55.34 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3614, allocations: 109.9 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3615, allocations: 37.64 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3615, allocations: 84.12 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.3616, allocations: 31.73 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.3617, allocations: 29.7 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3619, allocations: 314.8 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/0.3625, allocations: 95.91 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.3631, allocations: 99.89 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3643, allocations: 192.6 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3643, allocations: 7.938 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001193/0.3655, allocations: 241.5 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3656, allocations: 10.17 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3656, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3656, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.3659, allocations: 59.88 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3659, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3662, allocations: 35.95 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3662, allocations: 4 kB / 1.172 GB, free: 0.8086 MB / 0.92 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.26e-05/0.3663, allocations: 117.8 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3663, allocations: 7.953 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.3663, allocations: 8.375 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3663, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3664, allocations: 4.266 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3664, allocations: 0 / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3681, allocations: 0.6053 MB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3681, allocations: 3.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.3684, allocations: 56 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3684, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3684, allocations: 4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3684, allocations: 0.75 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3684, allocations: 3.938 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3695, allocations: 345 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3695, allocations: 85.06 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3696, allocations: 3.984 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3698, allocations: 35.97 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3699, allocations: 11.92 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3699, allocations: 11.98 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.37, allocations: 95.61 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.37, allocations: 4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003025/0.3703, allocations: 39.86 kB / 1.174 GB, free: 15.26 MB / 0.9356 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.00134/0.3716, allocations: 0.9038 MB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009337/0.3726, allocations: 207.7 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3726, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.3731, allocations: 119.9 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3733, allocations: 7.938 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.378, allocations: 2.131 MB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.3783, allocations: 0.6807 MB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.679e-05/0.3784, allocations: 20.67 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.3785, allocations: 27.41 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3785, allocations: 3.938 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.3994, allocations: 2.746 MB / 1.18 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.04, allocations: 11.58 kB / 1.18 GB, free: 8.375 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/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