Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_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.0009644/0.0009645, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000986/0.000986, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.8707 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.7326, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00173/0.7344, allocations: 1.161 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.7356, allocations: 0.7221 MB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.7357, allocations: 4 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.7357, allocations: 3.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.7358, allocations: 11.97 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.7361, allocations: 87.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.7362, allocations: 27.95 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.7363, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.7364, allocations: 15.98 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.7365, allocations: 23.91 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.7365, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.7369, allocations: 311.4 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.737, allocations: 7.984 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.737, allocations: 25.7 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.7372, allocations: 139.9 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7372, allocations: 3.938 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.358e-06/0.7373, allocations: 3.984 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7373, allocations: 0 / 1.023 GB, free: 14.51 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.0005673/0.7378, allocations: 378.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7379, allocations: 11.98 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.7384, allocations: 75.92 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.7385, allocations: 175 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.7386, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.7386, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.7389, allocations: 105.5 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7389, allocations: 3.984 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7389, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7389, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.7394, allocations: 111.9 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.7399, allocations: 304.8 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.7403, allocations: 126.4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.7404, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7404, allocations: 30.56 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.7404, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007812/0.7412, allocations: 205.7 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.7413, allocations: 51.41 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7414, allocations: 105.8 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.7414, allocations: 25.7 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.7415, allocations: 80.14 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.7415, allocations: 7.938 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.7415, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7417, allocations: 318.8 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7419, allocations: 59.94 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.7421, allocations: 55.95 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.7423, allocations: 56.02 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7423, allocations: 3.953 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004526/0.7428, allocations: 141.6 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7428, allocations: 8.031 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7428, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7429, allocations: 7.984 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.743, allocations: 19.98 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.743, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.7432, allocations: 31.88 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.7432, allocations: 4 kB / 1.026 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/0.7433, allocations: 105.8 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.7433, allocations: 7.891 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.7434, allocations: 15.11 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7434, allocations: 3.938 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.7434, allocations: 4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7434, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.7436, allocations: 169.8 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7436, allocations: 7.938 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.7437, allocations: 27.98 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7437, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.7438, allocations: 7.922 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7438, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7438, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.7443, allocations: 243.5 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.7443, allocations: 81.06 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.7444, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.7445, allocations: 19.98 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.7446, allocations: 7.984 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.7446, allocations: 4.031 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.7446, allocations: 87.22 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7446, allocations: 0 / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002508/0.7449, allocations: 23.89 kB / 1.026 GB, free: 10.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.7451, allocations: 99.25 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.7456, allocations: 119.9 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7456, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.7458, allocations: 64 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.746, allocations: 3.938 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.7466, allocations: 184.6 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.7469, allocations: 0.677 MB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.747, allocations: 11.98 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.747, allocations: 11.44 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.747, allocations: 0 / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.002949/0.75, allocations: 0.7045 MB / 1.028 GB, free: 9.016 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches