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.001952/0.001952, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.001996/0.001996, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.995/2.995, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 1.203 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.777e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003827/0.003855, allocations: 1.466 MB / 0.8122 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.005911, allocations: 0.7847 MB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.005943, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.00597, allocations: 4.719 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.006025, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.006645, allocations: 134.6 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.006738, allocations: 31.91 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.006817, allocations: 11.94 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.006897, allocations: 21.72 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.006972, allocations: 19.97 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.006991, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.007654, allocations: 255.4 kB / 0.8135 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.00767, allocations: 0.5312 kB / 0.8135 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.007702, allocations: 11.98 kB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.008231, allocations: 212.4 kB / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.008234, allocations: 0 / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.133e-06/0.008235, allocations: 1.594 kB / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.008239, allocations: 3.938 kB / 0.8137 GB, free: 15.2 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.0007534/0.008992, allocations: 391.9 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.009034, allocations: 8.031 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.009629, allocations: 51.47 kB / 0.8141 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.009786, allocations: 117.1 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.009809, allocations: 5.094 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.009823, allocations: 384 / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.01016, allocations: 64.41 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01017, allocations: 4.188 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.01018, allocations: 384 / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.01019, allocations: 3.938 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.01064, allocations: 66.97 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.01134, allocations: 285.1 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.01178, allocations: 80.64 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.01201, allocations: 40.62 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01203, allocations: 4.844 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.01208, allocations: 37.33 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 4.458e-06/0.01208, allocations: 6.203 kB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000844/0.01293, allocations: 128.3 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.01298, allocations: 51.41 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01315, allocations: 165.9 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.01319, allocations: 25.7 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.0133, allocations: 130.9 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.01333, allocations: 17.34 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.01341, allocations: 23.36 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003334/0.01374, allocations: 492.1 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.01397, allocations: 37 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.01419, allocations: 29.39 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.0146, allocations: 61.89 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0146, allocations: 3.688 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005302/0.01513, allocations: 97.58 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.01516, allocations: 7.938 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01516, allocations: 0 / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01517, allocations: 1.594 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.01536, allocations: 15.98 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01536, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.01549, allocations: 12.97 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01551, allocations: 4 kB / 0.8161 GB, free: 12.6 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 0.00015/0.01566, allocations: 153.7 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.01572, allocations: 11.94 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.01575, allocations: 4.625 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01575, allocations: 0 / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.01576, allocations: 4 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01577, allocations: 5.078 kB / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.01604, allocations: 124.6 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01605, allocations: 4 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.0162, allocations: 12.7 kB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01621, allocations: 4.656 kB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.01622, allocations: 3.938 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01622, allocations: 0.9375 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01622, allocations: 4 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.01685, allocations: 235.1 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01686, allocations: 7.953 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.0169, allocations: 3.938 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.01709, allocations: 14.61 kB / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.01713, allocations: 4 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01714, allocations: 0 / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001062/0.01725, allocations: 127.2 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01725, allocations: 7.938 kB / 0.8168 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004239/0.01767, allocations: 11.94 kB / 0.8168 GB, free: 11.82 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.0002175/0.01789, allocations: 108.8 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.01841, allocations: 84.41 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01841, allocations: 0 / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.01866, allocations: 39.66 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.01907, allocations: 15.94 kB / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.01974, allocations: 150.4 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.01984, allocations: 63.34 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.01994, allocations: 11.98 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.02, allocations: 16.48 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.02, allocations: 0 / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.005218/0.02522, allocations: 0.89 MB / 0.8181 GB, free: 10.41 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.025336425052956]