Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_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.0007935/0.0007935, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004345/0.004345, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5575, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006629/0.5582, allocations: 370.5 kB / 0.9555 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.5599, allocations: 1.445 MB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.5599, allocations: 1.125 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.56, allocations: 0 / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.56, allocations: 8.844 kB / 0.957 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.5605, allocations: 94.02 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.5605, allocations: 33.03 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.5606, allocations: 5.297 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.5606, allocations: 10.41 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.5607, allocations: 21.19 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.5607, allocations: 6.031 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.5612, allocations: 314.8 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.5612, allocations: 13.39 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.5612, allocations: 37.14 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.5615, allocations: 183.7 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5615, allocations: 1.125 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5615, allocations: 0 / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5615, allocations: 0 / 0.9576 GB, free: 5.773 MB / 0.7169 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.0003562/0.5619, allocations: 380.5 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5619, allocations: 9.062 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.562, allocations: 32.44 kB / 0.958 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.5623, allocations: 71.33 kB / 0.9581 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.5624, allocations: 175.7 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5624, allocations: 1.469 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.5625, allocations: 7.109 kB / 0.9583 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5627, allocations: 86.25 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5627, allocations: 9.141 kB / 0.9584 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.5627, allocations: 0 / 0.9584 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.5628, allocations: 1 kB / 0.9584 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.5631, allocations: 84.58 kB / 0.9585 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.5632, allocations: 168.1 kB / 0.9586 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.5637, allocations: 145.1 kB / 0.9588 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5639, allocations: 52.12 kB / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.564, allocations: 5.703 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.564, allocations: 38.5 kB / 0.9588 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.564, allocations: 0 / 0.9588 GB, free: 4.645 MB / 0.7169 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.004008/0.568, allocations: 0.9462 MB / 0.9598 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.568, allocations: 56.5 kB / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.5681, allocations: 109.9 kB / 0.9599 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5681, allocations: 26.83 kB / 0.96 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.957e-05/0.5681, allocations: 93.03 kB / 0.96 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.5682, allocations: 27.56 kB / 0.9601 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.5682, allocations: 19.72 kB / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.5683, allocations: 316.9 kB / 0.9604 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.5687, allocations: 118.6 kB / 0.9605 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.5691, allocations: 118.7 kB / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.5699, allocations: 240.3 kB / 0.9608 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5699, allocations: 3.938 kB / 0.9609 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008779/0.5708, allocations: 282.6 kB / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5708, allocations: 7.688 kB / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5708, allocations: 0 / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.5709, allocations: 0 / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.5712, allocations: 68.19 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5712, allocations: 4.906 kB / 0.9612 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5714, allocations: 46.33 kB / 0.9612 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.5714, allocations: 7.109 kB / 0.9613 GB, free: 3.262 MB / 0.7169 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 5.769e-05/0.5715, allocations: 116.6 kB / 0.9614 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.5715, allocations: 6.969 kB / 0.9614 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.5716, allocations: 13.38 kB / 0.9614 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5716, allocations: 5.188 kB / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5716, allocations: 1.062 kB / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5716, allocations: 4.219 kB / 0.9614 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.5731, allocations: 0.6557 MB / 0.962 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5731, allocations: 1.25 kB / 0.962 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.5734, allocations: 67.62 kB / 0.9621 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5734, allocations: 5.203 kB / 0.9621 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5734, allocations: 11.45 kB / 0.9621 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5734, allocations: 1.031 kB / 0.9621 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5735, allocations: 5.062 kB / 0.9621 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.5743, allocations: 383.8 kB / 0.9625 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.5744, allocations: 83.77 kB / 0.9626 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5744, allocations: 1.969 kB / 0.9626 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.5747, allocations: 51.08 kB / 0.9626 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.5747, allocations: 11.67 kB / 0.9626 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5747, allocations: 9.547 kB / 0.9626 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.929e-05/0.5747, allocations: 86.31 kB / 0.9627 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5747, allocations: 0 / 0.9627 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.575, allocations: 48.39 kB / 0.9628 GB, free: 2.125 MB / 0.7169 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.001099/0.5761, allocations: 0.9353 MB / 0.9637 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008818/0.577, allocations: 248 kB / 0.9639 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.577, allocations: 0 / 0.9639 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.5775, allocations: 126.9 kB / 0.964 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5777, allocations: 15.83 kB / 0.9641 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.582, allocations: 2.316 MB / 0.9663 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.5822, allocations: 0.6875 MB / 0.967 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.5823, allocations: 21.69 kB / 0.967 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.5824, allocations: 26.55 kB / 0.967 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.5824, allocations: 0.8438 kB / 0.967 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.5984, allocations: 2.485 MB / 0.9695 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.5986, allocations: 212.9 kB / 0.9697 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.177, allocations: 1.25 kB / 0.9697 GB, free: 13.33 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches