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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001689/0.001689, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001919/0.001919, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.707, allocations: 140.4 MB / 0.949 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002408/0.7095, allocations: 1.499 MB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.7105, allocations: 0.8088 MB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.7106, allocations: 0 / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.7106, allocations: 1.5 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.7107, allocations: 7.922 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.711, allocations: 97.94 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.7111, allocations: 29.98 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.7112, allocations: 7.812 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.7112, allocations: 10.11 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.7113, allocations: 18.67 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.7113, allocations: 2.438 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.7117, allocations: 318.5 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.7117, allocations: 9.109 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.7118, allocations: 10.41 kB / 0.9518 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.712, allocations: 199.1 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.712, allocations: 0 / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.712, allocations: 3.938 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7121, allocations: 5.344 kB / 0.952 GB, free: 6.902 MB / 0.7169 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.0004373/0.7125, allocations: 371.2 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7125, allocations: 9.281 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.7126, allocations: 40.28 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.713, allocations: 70.53 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.7131, allocations: 162.4 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.7131, allocations: 9.438 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.7131, allocations: 1.469 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.7134, allocations: 82.09 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7135, allocations: 7.984 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7135, allocations: 0 / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7135, allocations: 1.344 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.7139, allocations: 98.42 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.7143, allocations: 289.6 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.7147, allocations: 96.41 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.7149, allocations: 55.3 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.7149, allocations: 3.984 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.7149, allocations: 32 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.7149, allocations: 4 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006713/0.7156, allocations: 173.4 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.7156, allocations: 51.41 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.7157, allocations: 100.7 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.7157, allocations: 25.7 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.7158, allocations: 89.72 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.7158, allocations: 9.375 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.7158, allocations: 12.47 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.7159, allocations: 316.2 kB / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.7161, allocations: 45.33 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.7163, allocations: 49.38 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.7166, allocations: 93.11 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7166, allocations: 0 / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004077/0.717, allocations: 117 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7171, allocations: 5.688 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7171, allocations: 4.031 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7171, allocations: 3.984 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.7173, allocations: 18.2 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.7173, allocations: 3.938 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7174, allocations: 18.91 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7174, allocations: 1 kB / 0.9543 GB, free: 4.773 MB / 0.7169 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 5.663e-05/0.7175, allocations: 119.2 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.7175, allocations: 1.938 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.7175, allocations: 8.047 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7175, allocations: 3.938 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7175, allocations: 1.312 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7175, allocations: 0 / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.7177, allocations: 173 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7177, allocations: 5.078 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.7178, allocations: 25.3 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7178, allocations: 0 / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7179, allocations: 5.516 kB / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7179, allocations: 4 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7179, allocations: 1.531 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.7183, allocations: 222.4 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.7183, allocations: 78.39 kB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.7184, allocations: 5.312 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.7185, allocations: 18.33 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.7186, allocations: 5.297 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.7186, allocations: 1.125 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.7186, allocations: 79.19 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0 / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002347/0.7188, allocations: 18.52 kB / 0.9551 GB, free: 4.031 MB / 0.7169 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.0006379/0.7195, allocations: 0.7625 MB / 0.9558 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.7199, allocations: 89.47 kB / 0.9559 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7199, allocations: 0 / 0.9559 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.7201, allocations: 56.56 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.7204, allocations: 4.969 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.7211, allocations: 206.4 kB / 0.9562 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.7212, allocations: 0.6778 MB / 0.9568 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.7213, allocations: 10.92 kB / 0.9568 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.7213, allocations: 18.2 kB / 0.9569 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7213, allocations: 0 / 0.9569 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/2.166, allocations: 1.474 MB / 0.9583 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.166, allocations: 205.5 kB / 0.9585 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/4.038, allocations: 0 / 0.9585 GB, free: 1.324 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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