Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0009462/0.0009462, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009307/0.0009307, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9968/0.9968, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.07/2.07, allocations: 429.5 MB / 0.6733 GB, free: 4 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.098e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00117/0.001191, allocations: 0.6572 MB / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.00252, allocations: 1.474 MB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.002546, allocations: 4 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.002565, allocations: 5.438 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.002627, allocations: 0 / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.002941, allocations: 131.2 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.002992, allocations: 27.91 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.003028, allocations: 0 / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.00307, allocations: 19.92 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.003121, allocations: 23.91 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.003135, allocations: 0 / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.003394, allocations: 244.4 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.003413, allocations: 11.98 kB / 0.8808 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.003431, allocations: 7.938 kB / 0.8808 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.003638, allocations: 204.5 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00364, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00364, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003644, allocations: 1.125 kB / 0.881 GB, free: 3.477 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000353/0.003996, allocations: 405.2 kB / 0.8813 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.00403, allocations: 8.031 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.004218, allocations: 44.39 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.004333, allocations: 132.4 kB / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.004347, allocations: 384 / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.004369, allocations: 4.375 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.004506, allocations: 71.73 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004515, allocations: 0.7812 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004524, allocations: 384 / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004531, allocations: 5.188 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.004577, allocations: 23.98 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.004702, allocations: 132.6 kB / 0.8818 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.004785, allocations: 60.39 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.004815, allocations: 23.8 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004829, allocations: 0.625 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.00485, allocations: 37.39 kB / 0.8819 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 7.12e-07/0.004851, allocations: 1.094 kB / 0.8819 GB, free: 2.426 MB / 0.8386 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.001066/0.005917, allocations: 389 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.005942, allocations: 63.41 kB / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.006013, allocations: 169.9 kB / 0.8825 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.006025, allocations: 29.7 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.006061, allocations: 130.9 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.006092, allocations: 27.75 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.006134, allocations: 35.36 kB / 0.8827 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.006255, allocations: 0.4884 MB / 0.8832 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.006303, allocations: 23.98 kB / 0.8832 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.006349, allocations: 28.02 kB / 0.8832 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.006432, allocations: 51.62 kB / 0.8833 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006433, allocations: 0 / 0.8833 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001375/0.006571, allocations: 101.6 kB / 0.8834 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006581, allocations: 8 kB / 0.8834 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006586, allocations: 3.938 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.006599, allocations: 0 / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.006731, allocations: 43.95 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.006735, allocations: 0 / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.006798, allocations: 19.98 kB / 0.8834 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.006808, allocations: 7.984 kB / 0.8834 GB, free: 0.75 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 (9): * Single equations (assignments): 9 * 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 5.923e-05/0.006868, allocations: 156.6 kB / 0.8836 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.006885, allocations: 7.953 kB / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.006915, allocations: 16.38 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006917, allocations: 7.938 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.00692, allocations: 0 / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006923, allocations: 3.984 kB / 0.8836 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.007396, allocations: 444.5 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007397, allocations: 0.75 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.007482, allocations: 35.97 kB / 0.8841 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.007484, allocations: 0 / 0.8841 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.007494, allocations: 7.984 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007495, allocations: 0 / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007497, allocations: 7.938 kB / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.007667, allocations: 263.2 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.007678, allocations: 11.94 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.00769, allocations: 0 / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.007769, allocations: 23.98 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.007801, allocations: 7.984 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.007809, allocations: 7.984 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.007849, allocations: 135.2 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007849, allocations: 0 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001802/0.008029, allocations: 43.86 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001272/0.008156, allocations: 119.2 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.0083, allocations: 79.58 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008302, allocations: 0 / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.008357, allocations: 43.61 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.008521, allocations: 27.98 kB / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.008967, allocations: 269.3 kB / 0.8851 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.009001, allocations: 59.34 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.009055, allocations: 29.22 kB / 0.8852 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.009112, allocations: 20.48 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.009112, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.002932/0.01204, allocations: 1.807 MB / 0.8869 GB, free: 13.02 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.35644148895517]