Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001215/0.001222, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 197.2 kB / 16.64 MB, free: 6.609 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.239/1.239, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.128/2.128, allocations: 390.3 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.38 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2282, allocations: 140.4 MB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001434/0.2297, allocations: 0.6387 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2311, allocations: 1.456 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.2311, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2312, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.2312, allocations: 7.922 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2315, allocations: 123.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.2316, allocations: 23.92 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.2316, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.2317, allocations: 15.92 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.2317, allocations: 19.91 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2317, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2321, allocations: 315.4 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2321, allocations: 11.91 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.2322, allocations: 11.94 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2324, allocations: 187.6 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2324, allocations: 3.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2324, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2324, allocations: 3.938 kB / 1.091 GB, free: 14.53 MB / 0.8575 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.000406/0.2328, allocations: 379.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.2329, allocations: 11.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.2332, allocations: 64.77 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2333, allocations: 168.4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2333, allocations: 4.375 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2334, allocations: 4.375 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2336, allocations: 77.95 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2336, allocations: 7.891 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2336, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2336, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.234, allocations: 75.86 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2341, allocations: 165.7 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.2346, allocations: 122.5 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2348, allocations: 40.94 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2348, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2349, allocations: 34.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2349, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 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.003761/0.2386, allocations: 0.7915 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.2387, allocations: 51.41 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.2387, allocations: 114.1 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2388, allocations: 25.7 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.2388, allocations: 84.14 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2388, allocations: 31.55 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.2389, allocations: 29.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.239, allocations: 322.8 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.2394, allocations: 95.89 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.2398, allocations: 95.84 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.2406, allocations: 200.9 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2406, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008313/0.2414, allocations: 249.2 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2414, allocations: 4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.2414, allocations: 4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2415, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.2417, allocations: 51.94 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2418, allocations: 8.062 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.242, allocations: 44.69 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.242, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 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 6.966e-05/0.2421, allocations: 117.7 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.2421, allocations: 4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.2421, allocations: 12.36 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2421, allocations: 8 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2421, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2421, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2437, allocations: 0.5974 MB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2437, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.2439, allocations: 51.94 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2439, allocations: 4 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2439, allocations: 12 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.244, allocations: 4 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.244, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.2448, allocations: 344.8 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.2449, allocations: 85.09 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2449, allocations: 0 / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2451, allocations: 35.95 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2452, allocations: 16.11 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2452, allocations: 8 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.2453, allocations: 95.2 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2453, allocations: 0 / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000262/0.2455, allocations: 36 kB / 1.095 GB, free: 9.461 MB / 0.8575 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.0002034/0.2457, allocations: 131.2 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008808/0.2466, allocations: 211.7 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2466, allocations: 0 / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.2471, allocations: 108 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2473, allocations: 11.94 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2487, allocations: 412.8 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2489, allocations: 0.6885 MB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.071e-05/0.249, allocations: 16.67 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.2491, allocations: 27.42 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2491, allocations: 0 / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.003487/0.2526, allocations: 1.65 MB / 1.099 GB, free: 6.156 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches