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.001349/0.001349, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002063/0.002063, allocations: 216 kB / 22.25 MB, free: 5.105 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.809 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.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.002054/0.002054, allocations: 70.36 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002771/0.3434, allocations: 1.461 MB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3448, allocations: 0.7556 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.3449, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3449, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.3449, allocations: 3.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3454, allocations: 131.4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.3455, allocations: 39.91 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.3456, allocations: 3.984 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.3457, allocations: 23.92 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.3457, allocations: 15.98 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3457, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.3462, allocations: 267.5 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.3462, allocations: 7.922 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.3462, allocations: 8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.3465, allocations: 187.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3466, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3466, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3466, allocations: 0 / 1.329 GB, free: 14.59 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.0005391/0.3471, allocations: 305.9 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3471, allocations: 15.97 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.3472, allocations: 34.69 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.3476, allocations: 68.84 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3478, allocations: 106.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3478, allocations: 4.375 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3478, allocations: 4.375 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.3481, allocations: 89.75 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3481, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3481, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.3481, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.3486, allocations: 95.89 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3491, allocations: 255.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.3496, allocations: 102.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.3498, allocations: 48.88 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3498, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3498, allocations: 34.56 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3498, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007662/0.3506, allocations: 177.6 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3506, allocations: 51.41 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.3507, allocations: 101.8 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3507, allocations: 29.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.3508, allocations: 88.09 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3508, allocations: 3.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3509, allocations: 13.72 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.351, allocations: 322.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3512, allocations: 47.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3514, allocations: 39.95 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.3518, allocations: 92.83 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3518, allocations: 3.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004611/0.3523, allocations: 129.5 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3523, allocations: 8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3523, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3523, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3525, allocations: 27.91 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.3525, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3526, allocations: 20.02 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3526, allocations: 0 / 1.331 GB, free: 12.12 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.759e-05/0.3527, allocations: 118.3 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.3527, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.3528, allocations: 7.312 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3528, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3528, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.3528, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.353, allocations: 132.7 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.353, allocations: 4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3531, allocations: 19.97 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3531, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3531, allocations: 4.25 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3531, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3531, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.3536, allocations: 227.3 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.3536, allocations: 4 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3536, allocations: 12.02 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3538, allocations: 11.98 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3538, allocations: 11.98 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3538, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.3539, allocations: 79.28 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002549/0.3541, allocations: 15.94 kB / 1.332 GB, free: 11.41 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.0009464/0.3551, allocations: 0.7631 MB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.3556, allocations: 95.94 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3556, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3558, allocations: 51.94 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3561, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.3569, allocations: 199.1 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.357, allocations: 67.22 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.87e-05/0.3571, allocations: 12 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.3571, allocations: 15.42 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3571, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3854, allocations: 2.276 MB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.77, allocations: 6.125 kB / 1.335 GB, free: 7.98 MB / 1.029 GB " [Timeout remaining time 288] (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.58545354899252]