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.006098/0.006098, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001261/0.001261, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.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.375/2.375, allocations: 390.3 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.97 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003093/0.2734, allocations: 1.435 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2749, allocations: 0.7927 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.275, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.275, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.2751, allocations: 7.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.2756, allocations: 135.5 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.2757, allocations: 27.98 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.2758, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.2759, allocations: 19.86 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.2759, allocations: 19.97 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.2759, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.2765, allocations: 319.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.2765, allocations: 11.92 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.2765, allocations: 11.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.2769, allocations: 195.7 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2769, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2769, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2769, allocations: 4 kB / 1.09 GB, free: 14.96 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.0006391/0.2776, allocations: 378.9 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2776, allocations: 11.97 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.2777, allocations: 34.75 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.2782, allocations: 72.84 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2783, allocations: 168.3 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.2784, allocations: 8.359 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2784, allocations: 384 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.2788, allocations: 93.69 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2788, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2788, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2788, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.2792, allocations: 87.91 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.2798, allocations: 292.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.2802, allocations: 98.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2805, allocations: 52.81 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2805, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2805, allocations: 30.56 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2805, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007523/0.2813, allocations: 165.5 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2813, allocations: 55.41 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.2814, allocations: 101.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2814, allocations: 25.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2815, allocations: 92.27 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2815, allocations: 3.953 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.2816, allocations: 13.72 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2817, allocations: 322.8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2819, allocations: 43.89 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.2821, allocations: 47.95 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.2825, allocations: 92.77 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2826, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004674/0.283, allocations: 125.5 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2831, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2831, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2831, allocations: 4.031 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2833, allocations: 27.97 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2833, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2834, allocations: 16.17 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2834, allocations: 11.98 kB / 1.093 GB, free: 12.29 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 0.0001046/0.2836, allocations: 113.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.2836, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.2836, allocations: 11.12 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2836, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2836, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2837, allocations: 3.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2839, allocations: 181.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2839, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2841, allocations: 27.97 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2841, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2841, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2841, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2841, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.2846, allocations: 219.4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.2847, allocations: 81.06 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2847, allocations: 7.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2849, allocations: 20 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.285, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.285, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.285, allocations: 87.27 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.285, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002607/0.2853, allocations: 12 kB / 1.093 GB, free: 11.45 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.0009654/0.2863, allocations: 0.7553 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.2868, allocations: 103.9 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2868, allocations: 3.938 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.287, allocations: 48.02 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2874, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.2881, allocations: 191.2 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2884, allocations: 0.6806 MB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.965e-05/0.2885, allocations: 8 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.2886, allocations: 11.44 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2886, allocations: 0 / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.3079, allocations: 1.701 MB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.755, allocations: 0 / 1.097 GB, free: 7.945 MB / 0.8575 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