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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 115.4 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9755, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001974/0.9775, allocations: 0.6414 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.9796, allocations: 1.458 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.9797, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.9798, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.9798, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.9804, allocations: 119.5 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.9805, allocations: 27.92 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.9806, allocations: 11.98 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.9806, allocations: 11.88 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.9807, allocations: 27.89 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.9807, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.9814, allocations: 311.4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.9814, allocations: 7.984 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.9814, allocations: 15.86 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.9818, allocations: 183.7 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.9818, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9818, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.9818, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 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.0006287/0.9824, allocations: 381 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.9825, allocations: 12.03 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.9829, allocations: 60.77 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.9831, allocations: 180.2 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.9831, allocations: 8.375 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.9831, allocations: 8.25 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.9834, allocations: 77.95 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.9834, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.9835, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.9835, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.9838, allocations: 75.92 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.984, allocations: 165.6 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.9846, allocations: 130.5 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.9848, allocations: 44.94 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.9849, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9849, allocations: 34.5 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.9849, allocations: 4 kB / 1.212 GB, free: 9.527 MB / 0.9356 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.004512/0.9894, allocations: 0.7861 MB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.9895, allocations: 51.41 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.9896, allocations: 113.8 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.9896, allocations: 25.7 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.9897, allocations: 88.14 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.9898, allocations: 27.61 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.9898, allocations: 29.7 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002463/0.9901, allocations: 318.8 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.9906, allocations: 95.89 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.991, allocations: 95.91 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.9918, allocations: 196.9 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9918, allocations: 3.938 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009043/0.9927, allocations: 245.5 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9928, allocations: 8 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.9928, allocations: 4 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.9928, allocations: 4 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.9931, allocations: 51.94 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9931, allocations: 0 / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.9934, allocations: 35.95 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.9934, allocations: 8 kB / 1.214 GB, free: 7.305 MB / 0.9356 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 9.956e-05/0.9935, allocations: 113.8 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.9936, allocations: 7.938 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.9936, allocations: 20.36 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9936, allocations: 7.875 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9936, allocations: 0 / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.9937, allocations: 81.02 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.9938, allocations: 4 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.994, allocations: 35.95 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.994, allocations: 11.98 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001124/0.9952, allocations: 356.6 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001001/0.9962, allocations: 418.5 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004361/0.9966, allocations: 112.1 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.9967, allocations: 91.27 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of Backend: time 3.31e-07/0.9967, allocations: 0 / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.9977, allocations: 232.1 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005742/0.9983, allocations: 0.58 MB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.005751/1.004, allocations: 2.266 MB / 1.218 GB, free: 2.895 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches