Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_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.007181/0.007181, allocations: 101.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.00174/0.00174, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7927, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00228/0.7951, allocations: 1.438 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7961, allocations: 0.7984 MB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.7961, allocations: 1.156 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.7962, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.7962, allocations: 5.609 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.7966, allocations: 128.2 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.7967, allocations: 31.77 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.7968, allocations: 9.75 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.7968, allocations: 12.73 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.7969, allocations: 25.05 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.7969, allocations: 3.281 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.7974, allocations: 319.7 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.7974, allocations: 7.781 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.7974, allocations: 16.8 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.7978, allocations: 192 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7978, allocations: 1.094 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7978, allocations: 0 / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7978, allocations: 0 / 1.09 GB, free: 3.453 MB / 0.8575 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.0004335/0.7982, allocations: 373.3 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7983, allocations: 10.19 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.7983, allocations: 38.75 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.7988, allocations: 66.55 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.7988, allocations: 167.8 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.7989, allocations: 2.312 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.7989, allocations: 5.594 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.7992, allocations: 85.91 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.7992, allocations: 4 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7992, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.7992, allocations: 0.9375 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.7997, allocations: 89.22 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.8001, allocations: 299 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.8005, allocations: 96.55 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.8007, allocations: 51.98 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.8008, allocations: 1 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.8008, allocations: 36.33 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8008, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007314/0.8015, allocations: 167.4 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.8015, allocations: 56.58 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.8016, allocations: 106.4 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8016, allocations: 26.92 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.8016, allocations: 89.83 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.8017, allocations: 5.859 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.8017, allocations: 14.23 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.8018, allocations: 320.5 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.802, allocations: 42.53 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.8022, allocations: 46.38 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.8026, allocations: 89.55 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8026, allocations: 1.031 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004608/0.8031, allocations: 123.4 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.8031, allocations: 5.25 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8031, allocations: 32 / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8031, allocations: 4.688 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.8033, allocations: 25.06 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8033, allocations: 1.312 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.8034, allocations: 17.16 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.8035, allocations: 4.562 kB / 1.093 GB, free: 1.598 MB / 0.8575 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 4.881e-05/0.8035, allocations: 117 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.8035, allocations: 5.359 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.8036, allocations: 12.91 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8036, allocations: 0.9062 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8036, allocations: 0.6562 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8036, allocations: 0 / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.8037, allocations: 176.2 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8037, allocations: 1.375 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.8039, allocations: 25.06 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8039, allocations: 0 / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.8039, allocations: 2.438 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8039, allocations: 0 / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8039, allocations: 0.7812 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.8044, allocations: 226.9 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.8044, allocations: 78.69 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.8045, allocations: 8.75 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.8046, allocations: 16.84 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.8047, allocations: 3.281 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.8047, allocations: 2.031 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.8047, allocations: 84.72 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8047, allocations: 0 / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/0.805, allocations: 15.36 kB / 1.093 GB, free: 0.9141 MB / 0.8575 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.0007194/0.8057, allocations: 0.7628 MB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.8062, allocations: 100.7 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8062, allocations: 0 / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.8065, allocations: 49.66 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.8067, allocations: 3.75 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.8074, allocations: 192.5 kB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.8077, allocations: 0.6765 MB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.599e-05/0.8078, allocations: 7.719 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.8078, allocations: 16 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.8078, allocations: 0 / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.8261, allocations: 1.692 MB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/8.097, allocations: 4.125 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches