Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002503/0.002503, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 74.09 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002686/0.3308, allocations: 1.473 MB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3323, allocations: 0.8373 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3324, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.3324, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.3324, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.3329, allocations: 123.5 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.333, allocations: 35.92 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3331, allocations: 11.97 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.3332, allocations: 15.94 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.3332, allocations: 23.91 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3333, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.3338, allocations: 327.3 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3338, allocations: 11.92 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.3338, allocations: 11.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.3341, allocations: 195.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3341, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.109e-06/0.3341, allocations: 3.984 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3341, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 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.0005356/0.3347, allocations: 303.4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3347, allocations: 12.03 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.3347, allocations: 30.75 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.3352, allocations: 68.84 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3354, allocations: 114.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.3354, allocations: 4.375 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3354, allocations: 384 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.3357, allocations: 93.69 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3357, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3357, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3357, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.3362, allocations: 87.91 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.3368, allocations: 267.9 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.3372, allocations: 98.5 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3374, allocations: 44.88 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3374, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3374, allocations: 30.56 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3374, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007217/0.3381, allocations: 165.5 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3382, allocations: 63.47 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.3383, allocations: 101.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3383, allocations: 25.7 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.3383, allocations: 88.09 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3384, allocations: 7.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3384, allocations: 17.7 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3386, allocations: 314.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3388, allocations: 47.95 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.339, allocations: 47.89 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.3394, allocations: 92.83 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3394, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000447/0.3398, allocations: 125.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3398, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3398, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3399, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.34, allocations: 23.97 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.34, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3402, allocations: 27.94 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3402, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 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 9.609e-05/0.3403, allocations: 114.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.3403, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3403, allocations: 11.31 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3403, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3403, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3403, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3405, allocations: 140.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3405, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3407, allocations: 28.22 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3407, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3407, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3407, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3407, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.3412, allocations: 231.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.3412, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3412, allocations: 7.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3414, allocations: 15.97 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3414, allocations: 7.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3414, allocations: 3.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.3415, allocations: 87.31 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002488/0.3417, allocations: 15.94 kB / 1.332 GB, free: 11.67 MB / 1.029 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.0009068/0.3426, allocations: 0.7514 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.3431, allocations: 95.88 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3431, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3433, allocations: 48.02 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3436, allocations: 9.547 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.3444, allocations: 197 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3447, allocations: 0.6768 MB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.3447, allocations: 12 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.3448, allocations: 15.44 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3448, allocations: 0 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3716, allocations: 1.789 MB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 8.156 kB / 1.335 GB, free: 8.121 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 18.27114311599871]