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.007481/0.007481, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001784/0.001784, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.481/2.481, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8141, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003274/0.8174, allocations: 1.439 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.819, allocations: 0.7976 MB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.8191, allocations: 0 / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.8191, allocations: 3.938 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.8192, allocations: 0 / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.8197, allocations: 135.5 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.8198, allocations: 27.92 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.8199, allocations: 7.984 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.82, allocations: 15.94 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.82, allocations: 15.97 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.82, allocations: 4 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.8205, allocations: 323.3 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.8206, allocations: 11.94 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.8206, allocations: 11.98 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.8209, allocations: 195.2 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.821, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.821, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.821, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 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.000548/0.8215, allocations: 375 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.8216, allocations: 12.62 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.8216, allocations: 38.67 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.8221, allocations: 68.81 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.8223, allocations: 176.3 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.8223, allocations: 384 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.8223, allocations: 4.312 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.8227, allocations: 85.75 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8227, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8227, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8227, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.8232, allocations: 87.91 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.8237, allocations: 296.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.8241, allocations: 94.5 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.8244, allocations: 52.88 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.8244, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.8244, allocations: 34.56 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.8244, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000741/0.8252, allocations: 177.5 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.8252, allocations: 51.41 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.8253, allocations: 105.8 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.8253, allocations: 25.7 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.8254, allocations: 84.14 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.8254, allocations: 3.953 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.8255, allocations: 17.75 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8256, allocations: 318.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.8258, allocations: 47.95 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.8261, allocations: 43.95 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.8265, allocations: 88.83 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8265, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004605/0.8269, allocations: 125.5 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.827, allocations: 8 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.827, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.827, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.8272, allocations: 28 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.8272, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.8273, allocations: 19.97 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8273, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 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.822e-05/0.8274, allocations: 117.8 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.8275, allocations: 3.953 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.8275, allocations: 7.125 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.8275, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8275, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8275, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.8277, allocations: 173.6 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8278, allocations: 3.984 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.8279, allocations: 23.97 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8279, allocations: 4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8279, allocations: 3.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8279, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8279, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.8285, allocations: 227.3 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.8285, allocations: 77.11 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.8285, allocations: 256 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.8287, allocations: 24 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.8288, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.8288, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.8288, allocations: 87.27 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8288, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002522/0.8291, allocations: 15.94 kB / 1.172 GB, free: 13.29 MB / 0.9044 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.0008319/0.8299, allocations: 0.7669 MB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004634/0.8304, allocations: 95.92 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8304, allocations: 0 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.8306, allocations: 48.02 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.831, allocations: 10.23 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.8317, allocations: 198.9 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.832, allocations: 0.6845 MB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.832, allocations: 11.98 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.8321, allocations: 11.44 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8321, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.8496, allocations: 1.684 MB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.611, allocations: 8.906 kB / 1.176 GB, free: 9.781 MB / 0.9044 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