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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.128e-05, allocations: 8.781 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.005124/0.005145, allocations: 1.505 MB / 0.8797 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.006279, allocations: 0.7866 MB / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.006313, allocations: 0 / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.006338, allocations: 0 / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.006391, allocations: 7.875 kB / 0.8804 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.00681, allocations: 133.4 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.006884, allocations: 29.05 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.00697, allocations: 7.984 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.007028, allocations: 19.98 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.007079, allocations: 21 kB / 0.8806 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.007093, allocations: 4 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.01049, allocations: 247.5 kB / 0.8809 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.01052, allocations: 12.92 kB / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.01055, allocations: 8 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.01088, allocations: 196.2 kB / 0.8811 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.01089, allocations: 0 / 0.8811 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01089, allocations: 5.188 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.01089, allocations: 0 / 0.8811 GB, free: 3.645 MB / 0.8386 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.0004527/0.01134, allocations: 400.1 kB / 0.8815 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.01139, allocations: 12.66 kB / 0.8815 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.01167, allocations: 55.52 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.01178, allocations: 108.6 kB / 0.8816 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.0118, allocations: 1.469 kB / 0.8816 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.01181, allocations: 384 / 0.8816 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.012, allocations: 84.56 kB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.01201, allocations: 192 / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.01202, allocations: 384 / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01203, allocations: 7.5 kB / 0.8817 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.01208, allocations: 11.98 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.01247, allocations: 275.8 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.01258, allocations: 47.03 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.01261, allocations: 20.5 kB / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.01262, allocations: 0.5938 kB / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01265, allocations: 37.33 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.01265, allocations: 5.453 kB / 0.8821 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.01285, allocations: 57.58 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01288, allocations: 51.53 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.01297, allocations: 169.9 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01298, allocations: 25.7 kB / 0.8824 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.01303, allocations: 126.9 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.01305, allocations: 11.89 kB / 0.8825 GB, free: 2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.01308, allocations: 23.36 kB / 0.8826 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.0132, allocations: 496.1 kB / 0.883 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.01324, allocations: 4 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.01326, allocations: 4 kB / 0.883 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.01331, allocations: 19.73 kB / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01331, allocations: 4.25 kB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.783e-05/0.0134, allocations: 49.64 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01341, allocations: 7.938 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01342, allocations: 4 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.01344, allocations: 0 / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01354, allocations: 19.97 kB / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01355, allocations: 0 / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.01358, allocations: 8.031 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.01359, allocations: 7.984 kB / 0.8831 GB, free: 1.336 MB / 0.8386 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.817e-05/0.01367, allocations: 152.6 kB / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.01369, allocations: 3.938 kB / 0.8833 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.01373, allocations: 11.31 kB / 0.8833 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01373, allocations: 3.938 kB / 0.8833 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01373, allocations: 0 / 0.8833 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01373, allocations: 0 / 0.8833 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.01385, allocations: 128.6 kB / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01385, allocations: 0 / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.0139, allocations: 15.98 kB / 0.8834 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0139, allocations: 0 / 0.8834 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01391, allocations: 11.92 kB / 0.8835 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01391, allocations: 3.938 kB / 0.8835 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01391, allocations: 0 / 0.8835 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.01406, allocations: 187.9 kB / 0.8836 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.01407, allocations: 8 kB / 0.8837 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01408, allocations: 3.938 kB / 0.8837 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.01414, allocations: 16.02 kB / 0.8837 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.01418, allocations: 0 / 0.8837 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.01418, allocations: 0 / 0.8837 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.01423, allocations: 127.2 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01423, allocations: 0 / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001682/0.01439, allocations: 19.94 kB / 0.8838 GB, free: 0.5898 MB / 0.8386 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.0001431/0.01454, allocations: 99.25 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01465, allocations: 27.61 kB / 0.8839 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01465, allocations: 4.062 kB / 0.8839 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.01468, allocations: 19.69 kB / 0.884 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01488, allocations: 12.95 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.01523, allocations: 126.3 kB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.01527, allocations: 59.34 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.01531, allocations: 12.06 kB / 0.8842 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.01535, allocations: 8.5 kB / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.01535, allocations: 0 / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of Templates: time 0.002793/0.01814, allocations: 0.9086 MB / 0.8851 GB, free: 15.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.426329809008166]