Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00167/0.00167, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.002011/0.002011, allocations: 169.9 kB / 24.86 MB, free: 9.262 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.523e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002196/0.002221, allocations: 1.492 MB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.003185, allocations: 0.7803 MB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.003221, allocations: 0 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.003247, allocations: 4.812 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.003294, allocations: 7.938 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.003688, allocations: 123.5 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.003753, allocations: 35.92 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.003829, allocations: 7.984 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.003883, allocations: 15.98 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.003934, allocations: 16.47 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.00395, allocations: 4 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.004244, allocations: 256.8 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.004259, allocations: 7.938 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.004276, allocations: 7.984 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.004513, allocations: 205.2 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004515, allocations: 0 / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004517, allocations: 0 / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004521, allocations: 0 / 0.8157 GB, free: 14.48 MB / 0.7761 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.0003642/0.004885, allocations: 400.2 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.004922, allocations: 8.844 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.005164, allocations: 55.53 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.005248, allocations: 112.6 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005261, allocations: 2.938 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.005268, allocations: 384 / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.005412, allocations: 74.91 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005419, allocations: 192 / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005427, allocations: 0.9062 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.005435, allocations: 7.922 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.005471, allocations: 16.66 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.005786, allocations: 262.5 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.005885, allocations: 43.64 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.005907, allocations: 16.33 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.00592, allocations: 4 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.005941, allocations: 34.17 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.005942, allocations: 0 / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.006089, allocations: 58.72 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.006117, allocations: 52.12 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.00618, allocations: 153.9 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.006191, allocations: 30.72 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.006235, allocations: 134.9 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.006253, allocations: 7.891 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.006284, allocations: 24.5 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.006399, allocations: 496.1 kB / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.00642, allocations: 4 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.006436, allocations: 4.844 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.006473, allocations: 17.84 kB / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006475, allocations: 0 / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.289e-05/0.006548, allocations: 45.64 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006561, allocations: 8 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006566, allocations: 3.938 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.006574, allocations: 2.812 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.00665, allocations: 11.98 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.006653, allocations: 0 / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.006689, allocations: 11.98 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006695, allocations: 4 kB / 0.8177 GB, free: 12.24 MB / 0.7761 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.804e-05/0.006763, allocations: 162.1 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.006781, allocations: 0 / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.006806, allocations: 11.23 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00681, allocations: 4.625 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006812, allocations: 4.188 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.006814, allocations: 0.5625 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.006915, allocations: 105.8 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006916, allocations: 0 / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.006961, allocations: 21.27 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006963, allocations: 0 / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006968, allocations: 1.094 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006969, allocations: 0 / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.00697, allocations: 3.938 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007088, allocations: 188.6 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-06/0.007094, allocations: 4.672 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007105, allocations: 4 kB / 0.8182 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.007155, allocations: 15.73 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.007181, allocations: 3.938 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.007187, allocations: 7.984 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.007219, allocations: 119.2 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007219, allocations: 7.938 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001632/0.007382, allocations: 11.94 kB / 0.8183 GB, free: 11.53 MB / 0.7761 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.0001119/0.007494, allocations: 107.2 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.007573, allocations: 21.12 kB / 0.8185 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007574, allocations: 0 / 0.8185 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.0076, allocations: 19.67 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.007776, allocations: 12.91 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.008038, allocations: 136.5 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.428e-05/0.008073, allocations: 63.16 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.008114, allocations: 9.938 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.008173, allocations: 74.19 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.008174, allocations: 0 / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.002463/0.01064, allocations: 0.9859 MB / 0.8197 GB, free: 10.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.196629780810326]