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.001508/0.001508, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001946/0.001946, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.801 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.165/3.165, allocations: 0.4892 GB / 0.7943 GB, free: 35.38 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.002141/0.002141, allocations: 70.61 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002619/0.3209, allocations: 1.473 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3222, allocations: 0.7556 MB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.3222, allocations: 0 / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.3223, allocations: 3.938 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.3223, allocations: 3.938 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.3228, allocations: 127.6 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.3228, allocations: 35.91 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.3229, allocations: 7.906 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.323, allocations: 19.92 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.323, allocations: 11.98 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.323, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.3234, allocations: 259.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3234, allocations: 7.922 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.3235, allocations: 8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.3238, allocations: 187.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3238, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3238, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3238, allocations: 0 / 1.328 GB, free: 15.45 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.0005115/0.3243, allocations: 301.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3243, allocations: 12.03 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.3244, allocations: 34.75 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.3248, allocations: 68.84 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3249, allocations: 106.5 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3249, allocations: 4.375 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.325, allocations: 384 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.3253, allocations: 93.69 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3253, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3253, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3253, allocations: 3.938 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.3257, allocations: 95.89 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.3262, allocations: 263.9 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.3266, allocations: 94.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3268, allocations: 44.88 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3268, allocations: 3.938 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3268, allocations: 34.56 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3268, allocations: 4 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007195/0.3276, allocations: 165.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3276, allocations: 51.41 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.3277, allocations: 105.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3277, allocations: 25.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.3278, allocations: 88.09 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3278, allocations: 12.02 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3278, allocations: 13.72 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.328, allocations: 318.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3282, allocations: 47.95 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3284, allocations: 47.89 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.3288, allocations: 92.83 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3288, allocations: 256 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000453/0.3292, allocations: 121.5 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3292, allocations: 8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3292, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3293, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3294, allocations: 24 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3294, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3296, allocations: 19.98 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3296, allocations: 3.984 kB / 1.33 GB, free: 12.98 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 8.612e-05/0.3297, allocations: 118.2 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3297, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.3297, allocations: 7.312 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3297, allocations: 8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3297, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3297, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3299, allocations: 136.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3299, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3301, allocations: 19.97 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3301, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3301, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3301, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3301, allocations: 3.984 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.3306, allocations: 219.4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.3306, allocations: 15.91 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3306, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3308, allocations: 11.98 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3308, allocations: 11.92 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.3308, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.3309, allocations: 79.28 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3309, allocations: 4.031 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002511/0.3311, allocations: 15.94 kB / 1.331 GB, free: 12.26 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.0008813/0.332, allocations: 0.7553 MB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.3325, allocations: 99.88 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3325, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3327, allocations: 52 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.333, allocations: 8.969 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.3337, allocations: 195.1 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.3338, allocations: 59.34 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.698e-05/0.3338, allocations: 8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.3339, allocations: 15.42 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3339, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3625, allocations: 2.26 MB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.93, allocations: 8.641 kB / 1.334 GB, free: 8.859 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.764045802876353]