Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001175/0.001175, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.009327/0.009327, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 16 kB / 0.8728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7431, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000772/0.7439, allocations: 373.1 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.7458, allocations: 1.455 MB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.7458, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.7458, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.7459, allocations: 3.938 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.7462, allocations: 103.2 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.7463, allocations: 23.97 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.7463, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.7463, allocations: 11.94 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.7464, allocations: 23.84 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.7464, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.7469, allocations: 315.3 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.7469, allocations: 7.938 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.7469, allocations: 37.62 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.7472, allocations: 189.6 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7472, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7472, allocations: 4 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.7472, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 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.0004301/0.7477, allocations: 373.2 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.7477, allocations: 8.031 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.7481, allocations: 80.86 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.7482, allocations: 184.1 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.7483, allocations: 4.375 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.7483, allocations: 4.375 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.7485, allocations: 81.95 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.7486, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7486, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7486, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.749, allocations: 87.92 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.7491, allocations: 165.6 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.7497, allocations: 158.4 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.7499, allocations: 48.95 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.7499, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.75, allocations: 34.5 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.75, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 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.004454/0.7544, allocations: 0.9497 MB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7545, allocations: 55.39 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.7546, allocations: 121.8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.7546, allocations: 25.7 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.7546, allocations: 84.14 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.7547, allocations: 27.56 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.7547, allocations: 13.7 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7548, allocations: 318.8 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.7553, allocations: 119.9 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.7558, allocations: 115.9 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.7567, allocations: 240.8 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7567, allocations: 4 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001003/0.7577, allocations: 289.3 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7578, allocations: 4 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.7578, allocations: 3.938 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.7578, allocations: 0 / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.7581, allocations: 63.94 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7581, allocations: 0 / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.7584, allocations: 51.95 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.7584, allocations: 9.047 kB / 1.029 GB, free: 9.367 MB / 0.7794 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.317e-05/0.7585, allocations: 119.8 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.7585, allocations: 7.906 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.7586, allocations: 12.38 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7586, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7586, allocations: 3.984 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7586, allocations: 0 / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.7604, allocations: 0.6599 MB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7605, allocations: 4 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.7608, allocations: 68 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7608, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.7608, allocations: 3.984 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7608, allocations: 4 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7608, allocations: 0 / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.7618, allocations: 388.8 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.7619, allocations: 81.02 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.7619, allocations: 7.984 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.7622, allocations: 39.97 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.7622, allocations: 23.84 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.7623, allocations: 8 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.7623, allocations: 91.45 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7623, allocations: 4 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002935/0.7626, allocations: 39.88 kB / 1.031 GB, free: 7.703 MB / 0.7794 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.0002007/0.7628, allocations: 131.2 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009902/0.7638, allocations: 251.7 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7638, allocations: 3.938 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.7643, allocations: 128 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.7646, allocations: 14.38 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.7663, allocations: 476.1 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.7665, allocations: 0.6887 MB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.7666, allocations: 20.67 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.7667, allocations: 19.42 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7667, allocations: 0 / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003973/0.7707, allocations: 1.596 MB / 1.034 GB, free: 4.332 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches