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.001717/0.001717, allocations: 96.2 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001918/0.001918, allocations: 205.9 kB / 23 MB, free: 4.934 MB / 14.72 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 65.59 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4258, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002218/0.428, allocations: 0.7793 MB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.4301, allocations: 1.458 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.4302, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.4302, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.4302, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.4308, allocations: 149.9 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.4309, allocations: 47.91 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.431, allocations: 4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.4311, allocations: 27.92 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.4311, allocations: 35.88 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4312, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.4316, allocations: 263.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.4316, allocations: 15.92 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.4316, allocations: 15.92 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.432, allocations: 211.3 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.432, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.432, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.432, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 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.0007079/0.4327, allocations: 321.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4328, allocations: 12.03 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.4333, allocations: 76.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4334, allocations: 110.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.4334, allocations: 384 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.4334, allocations: 12.33 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.4339, allocations: 173.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4339, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4339, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4339, allocations: 3.938 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.4344, allocations: 103.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.435, allocations: 268.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.4357, allocations: 162.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.4359, allocations: 52.81 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.436, allocations: 160 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.436, allocations: 34.56 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.436, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 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.01985/0.4559, allocations: 2.684 MB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4559, allocations: 63.28 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.456, allocations: 101.8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.4561, allocations: 25.7 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.4561, allocations: 96.08 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.4562, allocations: 35.66 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.4564, allocations: 69.58 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4566, allocations: 322.8 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/0.4572, allocations: 195.8 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.4579, allocations: 187.8 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.4592, allocations: 389.7 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4592, allocations: 8 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001579/0.4608, allocations: 478.4 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4608, allocations: 11.94 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4609, allocations: 3.984 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4609, allocations: 0 / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000934/0.4618, allocations: 103.8 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4618, allocations: 4 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.4625, allocations: 47.88 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.4625, allocations: 27.94 kB / 1.336 GB, free: 7.566 MB / 1.029 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.0001905/0.4627, allocations: 114.4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.4628, allocations: 0 / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.4629, allocations: 16.05 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4629, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4629, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.4631, allocations: 47.8 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.4631, allocations: 3.938 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.4639, allocations: 51.92 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.464, allocations: 23.92 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002302/0.4663, allocations: 0.5979 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002375/0.4686, allocations: 0.877 MB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006833/0.4693, allocations: 195.8 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.4694, allocations: 79.38 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of Backend: time 7.71e-07/0.4694, allocations: 7.938 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.4708, allocations: 355.1 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009004/0.4717, allocations: 0.6437 MB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of Templates: time 0.01238/0.4841, allocations: 7.556 MB / 1.346 GB, free: 12.91 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 9.766487079999933]