Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001046/0.001046, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001224/0.001224, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9496/0.9496, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.902/1.902, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8116 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.186e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00127/0.001292, allocations: 0.7934 MB / 0.8124 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.002708, allocations: 1.503 MB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.002742, allocations: 0 / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.002771, allocations: 2 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.002816, allocations: 3.938 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.003222, allocations: 146.2 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.003297, allocations: 51.89 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.003335, allocations: 0 / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.003424, allocations: 39.91 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.003471, allocations: 29.83 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003486, allocations: 8 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.003732, allocations: 243.5 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.00375, allocations: 15.97 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.003778, allocations: 23.92 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.004017, allocations: 213.5 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.00402, allocations: 4 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004021, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004025, allocations: 0 / 0.8146 GB, free: 14.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004548/0.00448, allocations: 428 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004517, allocations: 8.562 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.004753, allocations: 60.11 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.004837, allocations: 116.5 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.004855, allocations: 4.375 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.00488, allocations: 8.906 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.005102, allocations: 165.5 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.005113, allocations: 1.344 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.005126, allocations: 384 / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.005135, allocations: 3.938 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.005202, allocations: 29.36 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.005607, allocations: 323.6 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.005753, allocations: 79.88 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.005789, allocations: 32.39 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.005801, allocations: 0 / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.005824, allocations: 42.52 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.005826, allocations: 3.984 kB / 0.8158 GB, free: 13.38 MB / 0.7761 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=11): time 0.007/0.01283, allocations: 2.001 MB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.01285, allocations: 55.41 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.01292, allocations: 157.9 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.01295, allocations: 29.7 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.013, allocations: 138.8 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.01305, allocations: 43.64 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01315, allocations: 71.23 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.01325, allocations: 0.4922 MB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.01344, allocations: 143.9 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.01362, allocations: 139.9 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.014, allocations: 294.6 kB / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.014, allocations: 0 / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005348/0.01454, allocations: 381.3 kB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01455, allocations: 4 kB / 0.8197 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01455, allocations: 4 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01457, allocations: 0 / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.01492, allocations: 91.81 kB / 0.8198 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01493, allocations: 0 / 0.8198 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.01516, allocations: 27.97 kB / 0.8198 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.01519, allocations: 31.92 kB / 0.8198 GB, free: 9.207 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 (13): * Single equations (assignments): 13 * 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.0001089/0.0153, allocations: 168.4 kB / 0.82 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.01537, allocations: 11.95 kB / 0.82 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.0154, allocations: 12.12 kB / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01541, allocations: 0 / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01541, allocations: 0 / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01541, allocations: 0 / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.0163, allocations: 0.8824 MB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01631, allocations: 4 kB / 0.8209 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.01665, allocations: 99.75 kB / 0.821 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01665, allocations: 4 kB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.01668, allocations: 19.94 kB / 0.821 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01668, allocations: 0 / 0.821 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01668, allocations: 3.938 kB / 0.821 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000796/0.01748, allocations: 0.6479 MB / 0.8216 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.01757, allocations: 43.84 kB / 0.8217 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.01761, allocations: 8 kB / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.01787, allocations: 23.97 kB / 0.8217 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.01794, allocations: 27.92 kB / 0.8217 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.01797, allocations: 35.8 kB / 0.8218 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.018, allocations: 123.2 kB / 0.8219 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.018, allocations: 4.031 kB / 0.8219 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002466/0.01825, allocations: 55.94 kB / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001387/0.01839, allocations: 103.2 kB / 0.822 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.01884, allocations: 339.3 kB / 0.8223 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01884, allocations: 0 / 0.8223 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.01906, allocations: 179.5 kB / 0.8225 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01928, allocations: 39.92 kB / 0.8226 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.021, allocations: 0.6231 MB / 0.8232 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.02104, allocations: 67.28 kB / 0.8232 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003058/0.02134, allocations: 88.72 kB / 0.8233 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.02152, allocations: 60.3 kB / 0.8234 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.02152, allocations: 4 kB / 0.8234 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of Templates: time 0.004538/0.02606, allocations: 3.772 MB / 0.8271 GB, free: 1.613 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.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.103806310100481]