Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.00709/0.00709, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001713/0.001713, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.8/2.8, allocations: 469.4 MB / 0.7422 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 68.09 kB / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2998, allocations: 159.1 MB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002769/0.3026, allocations: 1.453 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3038, allocations: 0.7827 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.3038, allocations: 7.938 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3039, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.3039, allocations: 7.938 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3044, allocations: 131.5 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.3045, allocations: 31.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.3046, allocations: 8 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.3046, allocations: 11.98 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3047, allocations: 23.91 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3047, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.3052, allocations: 323.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3052, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3052, allocations: 15.92 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3056, allocations: 199.5 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3056, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3057, allocations: 8 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.3057, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 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.000524/0.3062, allocations: 371.1 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3062, allocations: 11.97 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.3063, allocations: 30.75 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.3068, allocations: 72.8 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3069, allocations: 168.3 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3069, allocations: 4.375 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3069, allocations: 4.312 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3073, allocations: 93.69 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3073, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3073, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.3073, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.3077, allocations: 91.91 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3082, allocations: 300.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.3086, allocations: 94.5 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3089, allocations: 52.88 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3089, allocations: 3.938 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3089, allocations: 34.56 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3089, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007345/0.3096, allocations: 165.7 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3097, allocations: 55.41 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.3098, allocations: 101.8 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3098, allocations: 25.7 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.3098, allocations: 84.14 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3099, allocations: 3.953 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3099, allocations: 17.72 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.31, allocations: 318.8 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.3103, allocations: 43.95 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3105, allocations: 55.89 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.311, allocations: 88.83 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.311, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004655/0.3115, allocations: 125.6 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3115, allocations: 4 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3115, allocations: 0 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3115, allocations: 0 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3117, allocations: 27.91 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3117, allocations: 32 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3118, allocations: 15.98 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3119, allocations: 8.234 kB / 1.225 GB, free: 9.082 MB / 0.9825 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 7.96e-05/0.3119, allocations: 119.1 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.312, allocations: 7.953 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.312, allocations: 3.125 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.312, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.312, allocations: 4 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.312, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.3122, allocations: 181.5 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3122, allocations: 0 / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3124, allocations: 23.97 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3124, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3124, allocations: 3.938 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3124, allocations: 0 / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3124, allocations: 4 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.3129, allocations: 219.4 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.313, allocations: 77.11 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.313, allocations: 4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3132, allocations: 15.97 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3132, allocations: 7.938 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.3132, allocations: 4.031 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.3133, allocations: 87.27 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3133, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000248/0.3135, allocations: 15.94 kB / 1.226 GB, free: 8.227 MB / 0.9825 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.0008383/0.3144, allocations: 0.7552 MB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005999/0.315, allocations: 103.9 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.315, allocations: 4.062 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3152, allocations: 43.95 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3155, allocations: 8 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.3162, allocations: 191 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3165, allocations: 0.6768 MB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.3166, allocations: 15.94 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.3166, allocations: 7.438 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3166, allocations: 4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.3337, allocations: 1.699 MB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.085, allocations: 0 / 1.229 GB, free: 4.734 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches