Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.007656/0.007656, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001895/0.001895, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.72/2.72, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00366/0.3344, allocations: 1.434 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3362, allocations: 0.7913 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.3363, allocations: 4 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.3363, allocations: 0 / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.3364, allocations: 11.92 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.337, allocations: 123.5 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.3371, allocations: 35.86 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3372, allocations: 11.98 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.3373, allocations: 15.92 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.3374, allocations: 23.92 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3374, allocations: 4 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.3381, allocations: 311.3 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.3382, allocations: 8 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.3382, allocations: 11.92 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3387, allocations: 195.7 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3387, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3387, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3387, allocations: 0 / 1.169 GB, free: 4.309 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007398/0.3395, allocations: 387 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3395, allocations: 8.031 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.3396, allocations: 34.75 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.3403, allocations: 72.8 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3405, allocations: 164.3 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3405, allocations: 4.375 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3405, allocations: 384 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.341, allocations: 89.75 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.341, allocations: 4 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3411, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3411, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.3417, allocations: 87.91 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.3425, allocations: 308.8 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.3431, allocations: 98.44 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.3434, allocations: 44.88 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3434, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3435, allocations: 46.55 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3435, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.001106/0.3446, allocations: 161.5 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3447, allocations: 55.34 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3448, allocations: 106 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3448, allocations: 25.7 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.3449, allocations: 92.12 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3449, allocations: 3.953 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.345, allocations: 17.7 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3452, allocations: 318.8 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3455, allocations: 43.95 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.3457, allocations: 43.95 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.3461, allocations: 88.83 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3461, allocations: 4 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004782/0.3466, allocations: 129.5 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3466, allocations: 4 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3466, allocations: 3.938 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3467, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3468, allocations: 23.97 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3469, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.347, allocations: 20 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.347, allocations: 7.984 kB / 1.171 GB, free: 1.629 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 (2): * Single equations (assignments): 2 * 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.347e-05/0.3471, allocations: 109.8 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.3471, allocations: 7.953 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3472, allocations: 7.125 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3472, allocations: 0 / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3472, allocations: 0 / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3472, allocations: 3.984 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3474, allocations: 173.5 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3474, allocations: 7.938 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3475, allocations: 23.97 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3475, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3476, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3476, allocations: 256 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3476, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.3481, allocations: 231.3 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.3482, allocations: 77.11 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3482, allocations: 7.984 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3484, allocations: 11.98 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3484, allocations: 7.984 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3484, allocations: 0 / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3485, allocations: 83.28 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3485, allocations: 32 / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002462/0.3487, allocations: 16 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009211/0.3497, allocations: 0.7591 MB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.3501, allocations: 99.88 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3502, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3504, allocations: 52 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3507, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3514, allocations: 191 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3518, allocations: 0.6806 MB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.813e-05/0.3519, allocations: 8 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3519, allocations: 15.44 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3519, allocations: 3.938 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.376, allocations: 1.681 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.413, allocations: 13.61 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.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_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches