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.0009784/0.0009784, 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.001129/0.001129, allocations: 173 kB / 23.5 MB, free: 1.055 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.9609/0.9609, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.157/2.157, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.132e-06/1.132e-06, allocations: 0 / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.12e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001001/0.001012, allocations: 0.662 MB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.002472, allocations: 1.473 MB / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.002489, allocations: 1.188 kB / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.095e-06/0.002497, allocations: 0 / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.002543, allocations: 12.91 kB / 0.8803 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.002798, allocations: 121.7 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.184e-05/0.00284, allocations: 31.91 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.294e-05/0.002863, allocations: 0 / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.002893, allocations: 16.95 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.002935, allocations: 23.91 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.002945, allocations: 0.7812 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.003195, allocations: 251.4 kB / 0.8808 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.003207, allocations: 9.609 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003224, allocations: 15.94 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003415, allocations: 195.4 kB / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003417, allocations: 0 / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003418, allocations: 0 / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003421, allocations: 5.062 kB / 0.881 GB, free: 3.762 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.0003025/0.003723, allocations: 405.2 kB / 0.8814 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.00375, allocations: 8.031 kB / 0.8814 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.003939, allocations: 39.7 kB / 0.8814 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.004018, allocations: 124.5 kB / 0.8815 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.004027, allocations: 4.312 kB / 0.8815 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.004041, allocations: 8.375 kB / 0.8815 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.004166, allocations: 74.05 kB / 0.8816 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004173, allocations: 192 / 0.8816 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.004178, allocations: 384 / 0.8816 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004184, allocations: 7.938 kB / 0.8816 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.004226, allocations: 19.92 kB / 0.8816 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.483e-05/0.004321, allocations: 130 kB / 0.8818 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.004397, allocations: 51.05 kB / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.004425, allocations: 19.81 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.004436, allocations: 0.5312 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.004453, allocations: 42.97 kB / 0.8819 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 5.51e-07/0.004454, allocations: 0 / 0.8819 GB, free: 2.727 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.001083/0.005536, allocations: 394.8 kB / 0.8822 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.00556, allocations: 63.41 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.005628, allocations: 169.9 kB / 0.8825 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.00564, allocations: 29.64 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.005674, allocations: 134.9 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.005701, allocations: 27.75 kB / 0.8827 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.00574, allocations: 35.36 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.005841, allocations: 0.4923 MB / 0.8832 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.005885, allocations: 19.98 kB / 0.8832 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.005929, allocations: 23.98 kB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.006007, allocations: 47.97 kB / 0.8833 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006007, allocations: 4 kB / 0.8833 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001386/0.006146, allocations: 101.5 kB / 0.8834 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.006155, allocations: 12 kB / 0.8834 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006158, allocations: 3.938 kB / 0.8834 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.006165, allocations: 3.984 kB / 0.8834 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.00629, allocations: 43.89 kB / 0.8834 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.006293, allocations: 0 / 0.8834 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.006356, allocations: 19.98 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.006367, allocations: 7.984 kB / 0.8834 GB, free: 1.039 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.647e-05/0.006423, allocations: 156.6 kB / 0.8836 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.006441, allocations: 15.89 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.00647, allocations: 16.38 kB / 0.8836 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006473, allocations: 0 / 0.8836 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.006475, allocations: 0 / 0.8836 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006478, allocations: 3.984 kB / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.006938, allocations: 436.5 kB / 0.884 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006939, allocations: 0 / 0.884 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.007029, allocations: 40.03 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.007031, allocations: 0 / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.007042, allocations: 7.984 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007043, allocations: 0 / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007044, allocations: 0 / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.007208, allocations: 259.1 kB / 0.8843 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.007218, allocations: 11.95 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.007231, allocations: 4.547 kB / 0.8844 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.007321, allocations: 24.03 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.007351, allocations: 7.938 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.00736, allocations: 11.98 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.007396, allocations: 127.2 kB / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007396, allocations: 0 / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001785/0.007574, allocations: 43.86 kB / 0.8846 GB, free: 15.81 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.0001087/0.007683, allocations: 127.1 kB / 0.8847 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.007814, allocations: 79.58 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007815, allocations: 0 / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.007871, allocations: 44.23 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008031, allocations: 28.89 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.008468, allocations: 273.5 kB / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.0085, allocations: 55.36 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.812e-05/0.008558, allocations: 24.88 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.008608, allocations: 28.42 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.008608, allocations: 0 / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.002889/0.0115, allocations: 1.795 MB / 0.8869 GB, free: 13.32 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.245625463081524]