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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00868/0.00868, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.001885/0.001885, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.395/1.395, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9226/0.924, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001784/0.9258, allocations: 0.6343 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.9277, allocations: 1.45 MB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.9278, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.9278, allocations: 3.938 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.9279, allocations: 7.984 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.9284, allocations: 127.4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.9285, allocations: 27.91 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.9285, allocations: 4 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.9286, allocations: 11.92 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.9287, allocations: 19.92 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.9287, allocations: 0 / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.9292, allocations: 323.3 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.9292, allocations: 7.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.9293, allocations: 15.86 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.9296, allocations: 183.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9296, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9296, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.9296, allocations: 0 / 1.211 GB, free: 10.79 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.0005656/0.9302, allocations: 377.1 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.9302, allocations: 8.031 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.9306, allocations: 64.77 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.9308, allocations: 176.2 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.9308, allocations: 4.312 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.9309, allocations: 4.375 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.9312, allocations: 77.95 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9312, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.9312, allocations: 3.938 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.9312, allocations: 3.938 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.9316, allocations: 75.91 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.9318, allocations: 177.7 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.9324, allocations: 122.5 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.9326, allocations: 40.94 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.9326, allocations: 0 / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.9327, allocations: 46.44 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.9327, allocations: 0 / 1.212 GB, free: 9.469 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.004059/0.9367, allocations: 0.7779 MB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.9368, allocations: 55.41 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.9369, allocations: 109.8 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.9369, allocations: 25.7 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.9369, allocations: 92.12 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.937, allocations: 23.62 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.9371, allocations: 29.64 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9372, allocations: 322.8 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.9376, allocations: 91.91 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.938, allocations: 99.89 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.9389, allocations: 192.7 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.9389, allocations: 0 / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009148/0.9398, allocations: 249.5 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9398, allocations: 4 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9398, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.9399, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.9402, allocations: 51.94 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9402, allocations: 7.984 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.9404, allocations: 39.91 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.9404, allocations: 3.984 kB / 1.214 GB, free: 7.258 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 8.195e-05/0.9405, allocations: 125.7 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.9405, allocations: 4 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.9406, allocations: 12.31 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9406, allocations: 0 / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9406, allocations: 4 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9406, allocations: 3.984 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.9422, allocations: 0.5942 MB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9423, allocations: 0 / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.9425, allocations: 67.92 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9425, allocations: 0 / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.9426, allocations: 8 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.9426, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9426, allocations: 4 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.9436, allocations: 344.8 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.9436, allocations: 81.11 kB / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.9436, allocations: 0 / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.9439, allocations: 39.95 kB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.9439, allocations: 15.92 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.944, allocations: 7.984 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.944, allocations: 91.66 kB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.944, allocations: 0 / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002826/0.9443, allocations: 35.98 kB / 1.215 GB, free: 5.719 MB / 0.9356 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.0002108/0.9445, allocations: 139.2 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009403/0.9455, allocations: 211.8 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9455, allocations: 0 / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.9459, allocations: 104 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.9462, allocations: 15.27 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.9477, allocations: 406.2 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.948, allocations: 0.6846 MB / 1.217 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.638e-05/0.9481, allocations: 20.67 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.9482, allocations: 23.42 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9482, allocations: 3.938 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.003998/0.9522, allocations: 1.696 MB / 1.218 GB, free: 2.371 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/jenkins/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