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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_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.0008796/0.0008795, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005851/0.005851, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.748/2.748, allocations: 437.8 MB / 0.7121 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006027, allocations: 8 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7739, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001681/0.7756, allocations: 1.168 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.7768, allocations: 0.7955 MB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.7769, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.7769, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.777, allocations: 7.922 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.7774, allocations: 103.7 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.7774, allocations: 23.98 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.7775, allocations: 11.98 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.7776, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.7777, allocations: 27.84 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.7777, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.7782, allocations: 315.3 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.7782, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.7782, allocations: 37.62 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.7785, allocations: 195.6 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7785, allocations: 4 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7786, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.7786, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 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.0005303/0.7791, allocations: 377.3 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7791, allocations: 12.03 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.7796, allocations: 76.86 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.7798, allocations: 172.3 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7798, allocations: 384 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.7798, allocations: 4.312 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.7801, allocations: 101.9 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7802, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7802, allocations: 3.938 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7802, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.7806, allocations: 115.9 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.7812, allocations: 304.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.7816, allocations: 110.5 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.7819, allocations: 64.88 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.7819, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7819, allocations: 38.5 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.7819, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007879/0.7827, allocations: 201.5 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.7828, allocations: 51.53 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.7829, allocations: 105.8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.7829, allocations: 29.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.783, allocations: 88.05 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.783, allocations: 3.984 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.783, allocations: 9.719 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7831, allocations: 322.8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.7834, allocations: 55.95 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.7836, allocations: 55.95 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.7841, allocations: 120.7 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7841, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004893/0.7846, allocations: 157.8 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7846, allocations: 6.031 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7846, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.7846, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7848, allocations: 31.97 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7848, allocations: 4.031 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.785, allocations: 19.98 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.785, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 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.404e-05/0.7851, allocations: 117.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.7851, allocations: 3.938 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.7852, allocations: 15.06 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7852, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7852, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.7852, allocations: 3.938 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.7854, allocations: 177.5 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7854, allocations: 0 / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.7855, allocations: 31.97 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7855, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7855, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7855, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7855, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.7862, allocations: 247.4 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.7862, allocations: 81.02 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7862, allocations: 0 / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.7864, allocations: 28 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.7864, allocations: 0 / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7864, allocations: 4 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.7865, allocations: 91.2 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7865, allocations: 0 / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000237/0.7867, allocations: 12 kB / 1.029 GB, free: 9.426 MB / 0.7794 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.0001402/0.7869, allocations: 107.2 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.7874, allocations: 119.9 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7874, allocations: 4 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.7876, allocations: 60.02 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.7879, allocations: 7.875 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.7884, allocations: 184.6 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.7887, allocations: 0.6809 MB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.7888, allocations: 8 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.7888, allocations: 7.438 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7888, allocations: 0 / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of Templates: time 0.002723/0.7915, allocations: 0.7356 MB / 1.031 GB, free: 7.469 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches