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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001896/0.001896, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.597/2.597, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8731, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002879/0.876, allocations: 1.499 MB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.8772, allocations: 0.7814 MB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.8772, allocations: 1.438 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.8773, allocations: 3.938 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.8773, allocations: 0 / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.8778, allocations: 110.2 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.8778, allocations: 38.14 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.8779, allocations: 8.016 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.878, allocations: 9.75 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.878, allocations: 27.16 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.8781, allocations: 3.219 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.8785, allocations: 321.2 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.8785, allocations: 5.062 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.8785, allocations: 14.95 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.8788, allocations: 191.1 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8788, allocations: 1.094 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8788, allocations: 0 / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8788, allocations: 3.938 kB / 0.952 GB, free: 6.875 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.0004847/0.8793, allocations: 381.8 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8794, allocations: 13.77 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.8799, allocations: 67.8 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.88, allocations: 169.8 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.88, allocations: 5.922 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.88, allocations: 384 / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.8803, allocations: 91 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8803, allocations: 0 / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8803, allocations: 0 / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.8804, allocations: 1.781 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.8808, allocations: 90.62 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.8812, allocations: 297.9 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.8816, allocations: 94.56 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.8818, allocations: 55.47 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.8819, allocations: 1.031 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.8819, allocations: 39.69 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8819, allocations: 0 / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006931/0.8826, allocations: 165.4 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8826, allocations: 59.34 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.8827, allocations: 99.56 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.8827, allocations: 31.27 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.8827, allocations: 85.61 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.8828, allocations: 3.906 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.8828, allocations: 16.66 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.8829, allocations: 316.2 kB / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.8831, allocations: 45.23 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.8833, allocations: 42.8 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.8836, allocations: 92.27 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8836, allocations: 1.438 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004072/0.884, allocations: 128.3 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8841, allocations: 9.094 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8841, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8841, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.8843, allocations: 21.91 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8843, allocations: 0 / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.8844, allocations: 15.61 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.8844, allocations: 7.984 kB / 0.9544 GB, free: 4.777 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 6.64e-05/0.8845, allocations: 112.5 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.8845, allocations: 5.438 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.8846, allocations: 3.125 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8846, allocations: 1.156 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8846, allocations: 3.938 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8846, allocations: 1.312 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.8847, allocations: 180.8 kB / 0.9547 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8847, allocations: 1.406 kB / 0.9547 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.8849, allocations: 24.44 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8849, allocations: 1.406 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8849, allocations: 3.938 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8849, allocations: 1.438 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8849, allocations: 0 / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.8854, allocations: 226.6 kB / 0.9549 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.8854, allocations: 82.17 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8854, allocations: 1.406 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8856, allocations: 18.22 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.8856, allocations: 5.125 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8856, allocations: 1.062 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.8857, allocations: 87.67 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8857, allocations: 0 / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002458/0.8859, allocations: 14.94 kB / 0.9551 GB, free: 4.035 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.000162/0.8861, allocations: 104.7 kB / 0.9552 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.8866, allocations: 99.17 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8866, allocations: 0 / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.8868, allocations: 51.77 kB / 0.9553 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.8871, allocations: 15.67 kB / 0.9554 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.8877, allocations: 162.9 kB / 0.9555 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.8878, allocations: 0.6814 MB / 0.9562 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.8879, allocations: 11.48 kB / 0.9562 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.8879, allocations: 13.64 kB / 0.9562 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8879, allocations: 0 / 0.9562 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.003006/0.8909, allocations: 0.758 MB / 0.9569 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches