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.005334/0.005334, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001324/0.001324, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.453/2.453, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001789, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2915, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002458/0.294, allocations: 1.447 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2952, allocations: 0.7874 MB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.2952, allocations: 8 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.2953, allocations: 0 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.2953, allocations: 3.938 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.2957, allocations: 127.5 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.2958, allocations: 43.86 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.508e-05/0.2959, allocations: 4 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.2959, allocations: 11.98 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.296, allocations: 23.91 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.296, allocations: 4 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.2965, allocations: 315.3 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2965, allocations: 8 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2965, allocations: 11.92 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.2968, allocations: 195.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2969, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2969, allocations: 8 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2969, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 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.000541/0.2974, allocations: 379 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2975, allocations: 8.031 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.2975, allocations: 30.75 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.2979, allocations: 72.8 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2981, allocations: 168.3 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2981, allocations: 8.375 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2981, allocations: 384 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2984, allocations: 89.69 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2984, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2985, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2985, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.2989, allocations: 91.91 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2994, allocations: 300.8 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.2998, allocations: 106.4 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3, allocations: 48.88 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3001, allocations: 38.55 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3001, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0007111/0.3008, allocations: 169.6 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3008, allocations: 55.44 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.3009, allocations: 101.8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3009, allocations: 25.7 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.301, allocations: 84.14 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.301, allocations: 11.89 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3011, allocations: 13.72 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3012, allocations: 318.8 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3014, allocations: 47.95 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3016, allocations: 47.95 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.302, allocations: 88.83 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.302, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004405/0.3025, allocations: 121.6 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3025, allocations: 4 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3025, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3025, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3027, allocations: 27.91 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3027, allocations: 0 / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3028, allocations: 16.02 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3028, allocations: 7.984 kB / 1.171 GB, free: 1.562 MB / 0.92 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 8.073e-05/0.3029, allocations: 113.8 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.303, allocations: 7.953 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.303, allocations: 3.125 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.303, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.303, allocations: 4.25 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.303, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3032, allocations: 181.5 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3032, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3034, allocations: 27.91 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3034, allocations: 3.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3034, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3034, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3034, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.3039, allocations: 227.3 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.304, allocations: 77.11 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.304, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3041, allocations: 19.97 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3042, allocations: 4 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3042, allocations: 4.031 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.3042, allocations: 83.27 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3042, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002208/0.3045, allocations: 12 kB / 1.172 GB, free: 0.7109 MB / 0.92 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.0008723/0.3053, allocations: 0.7631 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3058, allocations: 99.81 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3058, allocations: 4.062 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.306, allocations: 47.95 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3063, allocations: 4 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.307, allocations: 191 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3073, allocations: 0.6806 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.3074, allocations: 12 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3074, allocations: 15.44 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3074, allocations: 0 / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2947/0.6021, allocations: 1.689 MB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/10.29, allocations: 11.19 kB / 1.176 GB, free: 13.2 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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