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.001158/0.001158, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001178/0.001178, allocations: 187 kB / 17.34 MB, free: 5.742 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.33/1.33, 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.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 68.11 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.822, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00179/0.8238, allocations: 0.6358 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.8258, allocations: 1.458 MB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.8259, allocations: 0 / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.8259, allocations: 3.938 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.826, allocations: 3.938 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.8265, allocations: 127.4 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.8266, allocations: 19.98 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.8266, allocations: 7.984 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.8266, allocations: 11.94 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.8267, allocations: 27.83 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.8268, allocations: 8 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.8272, allocations: 311.4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.8272, allocations: 7.969 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.8273, allocations: 15.88 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.8276, allocations: 183.7 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8276, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8276, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8276, allocations: 0 / 1.211 GB, free: 10.76 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.0005197/0.8281, allocations: 381.1 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8282, allocations: 12.03 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.8286, allocations: 60.77 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8287, allocations: 180.2 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.8288, allocations: 12.31 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.8288, allocations: 384 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.8291, allocations: 73.95 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8291, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.8291, allocations: 7.938 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8291, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.8295, allocations: 75.92 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.8297, allocations: 169.6 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.8302, allocations: 126.5 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.8304, allocations: 48.94 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.8304, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.8304, allocations: 34.5 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.8304, allocations: 0 / 1.212 GB, free: 9.445 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.003951/0.8344, allocations: 0.7882 MB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8344, allocations: 55.41 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8345, allocations: 113.8 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.8346, allocations: 25.7 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.8346, allocations: 92.12 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.8347, allocations: 23.61 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.8348, allocations: 29.7 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8349, allocations: 314.8 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.8353, allocations: 99.89 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.8357, allocations: 91.91 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.8365, allocations: 196.6 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8365, allocations: 288 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008389/0.8373, allocations: 253.2 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.8374, allocations: 10.34 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8374, allocations: 0 / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8374, allocations: 0 / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.8377, allocations: 55.94 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8377, allocations: 320 / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.8379, allocations: 35.95 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.838, allocations: 8 kB / 1.214 GB, free: 7.223 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.753e-05/0.8381, allocations: 113.7 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.8381, allocations: 8 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.8381, allocations: 20.3 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8382, allocations: 0 / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8382, allocations: 0 / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8382, allocations: 0 / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.8398, allocations: 0.602 MB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8398, allocations: 4 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.84, allocations: 52 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.84, allocations: 4 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8401, allocations: 4 kB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.8401, allocations: 8 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8401, allocations: 3.984 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.841, allocations: 340.9 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.841, allocations: 81.09 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.8411, allocations: 8 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.8413, allocations: 35.95 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.8414, allocations: 19.84 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.8414, allocations: 4 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.8414, allocations: 91.27 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8414, allocations: 4 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000287/0.8417, allocations: 36 kB / 1.216 GB, free: 5.684 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.0002193/0.842, allocations: 127.2 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008584/0.8428, allocations: 215.8 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8428, allocations: 0 / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.8433, allocations: 112 kB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.8435, allocations: 5.547 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.845, allocations: 431.9 kB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.8453, allocations: 0.6885 MB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.8453, allocations: 19.42 kB / 1.217 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of SimCode: time 1.583e-06/0.8453, allocations: 0 / 1.217 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.003215/0.8486, allocations: 1.443 MB / 1.219 GB, free: 2.594 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