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.001448/0.001448, allocations: 113 kB / 16.46 MB, free: 6.453 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.001533/0.001533, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.25/3.25, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.002071/0.002071, allocations: 70.16 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002685/0.3314, allocations: 1.454 MB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3328, allocations: 0.8337 MB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.3328, allocations: 3.938 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.3328, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.3329, allocations: 7.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.3333, allocations: 131.5 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.3334, allocations: 39.89 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.3334, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.3335, allocations: 19.92 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.3336, allocations: 23.92 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3336, allocations: 0 / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.3341, allocations: 323.3 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3341, allocations: 7.984 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3341, allocations: 11.94 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3344, allocations: 199.7 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3344, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3344, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3344, allocations: 0 / 1.324 GB, free: 328 kB / 1.014 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.0005808/0.335, allocations: 380.7 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3351, allocations: 15.98 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.3351, allocations: 30.75 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.3356, allocations: 72.84 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3357, allocations: 164.3 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3357, allocations: 4.312 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3358, allocations: 8.375 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.3361, allocations: 89.75 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3361, allocations: 0 / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3361, allocations: 0 / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3361, allocations: 3.984 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.3366, allocations: 91.89 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.3371, allocations: 292.9 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.3375, allocations: 98.44 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.3378, allocations: 52.86 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3378, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3378, allocations: 34.56 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3378, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007912/0.3386, allocations: 165.5 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3387, allocations: 55.34 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.3387, allocations: 105.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3388, allocations: 29.83 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3388, allocations: 88.09 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3388, allocations: 7.938 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3389, allocations: 13.72 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.339, allocations: 318.8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.3392, allocations: 51.89 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3395, allocations: 43.94 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.3399, allocations: 88.83 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3399, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000485/0.3404, allocations: 121.6 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3404, allocations: 11.97 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3404, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3404, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3406, allocations: 19.97 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3406, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3407, allocations: 23.91 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3407, allocations: 4 kB / 1.326 GB, free: 13.65 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.239e-05/0.3408, allocations: 113.8 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3408, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3409, allocations: 11.11 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3409, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3409, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3409, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.3411, allocations: 173.6 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3411, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.3412, allocations: 23.97 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3412, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3412, allocations: 256 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3412, allocations: 3.984 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3412, allocations: 8 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.3418, allocations: 223.3 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.3418, allocations: 85.12 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3418, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.342, allocations: 19.92 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.342, allocations: 3.984 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.342, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.3421, allocations: 83.28 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3421, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002467/0.3423, allocations: 12 kB / 1.327 GB, free: 12.81 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.0008978/0.3432, allocations: 0.767 MB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.3437, allocations: 95.88 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3437, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.344, allocations: 52 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3442, allocations: 7.938 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.345, allocations: 198.9 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3453, allocations: 0.6768 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.3453, allocations: 8 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.3454, allocations: 15.42 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3454, allocations: 8 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.3703, allocations: 1.682 MB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.62, allocations: 11.86 kB / 1.33 GB, free: 9.293 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.563553797081113]