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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.006199/0.006199, allocations: 101.7 kB / 15.88 MB, free: 5.863 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.001392/0.001392, allocations: 190.4 kB / 16.79 MB, free: 5.805 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.345/1.345, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7106 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.91 kB / 0.8692 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6081, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00196/0.6101, allocations: 0.7012 MB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.6123, allocations: 1.474 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.6124, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.6124, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.6125, allocations: 3.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.6129, allocations: 99.69 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.613, allocations: 19.98 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.613, allocations: 4 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.6131, allocations: 15.92 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.6131, allocations: 23.84 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.6132, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.6136, allocations: 311.4 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.6136, allocations: 11.92 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.6137, allocations: 11.92 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.6139, allocations: 129.8 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.6139, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6139, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.614, allocations: 0 / 1.02 GB, free: 15.91 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.000508/0.6145, allocations: 381.1 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6145, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.6149, allocations: 68.77 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.6151, allocations: 172.3 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.6151, allocations: 384 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6151, allocations: 8.375 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.6154, allocations: 77.95 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6154, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6154, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6154, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.6158, allocations: 75.91 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.616, allocations: 173.6 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.6166, allocations: 134.4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.6167, allocations: 36.95 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.6168, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6168, allocations: 38.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.6168, allocations: 0 / 1.021 GB, free: 14.59 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.004128/0.6209, allocations: 0.7817 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.621, allocations: 51.41 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.6211, allocations: 113.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.6211, allocations: 29.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.6212, allocations: 84.14 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.6212, allocations: 35.53 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/0.6213, allocations: 29.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6214, allocations: 318.8 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.6218, allocations: 91.91 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.6223, allocations: 99.89 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.6231, allocations: 200.6 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6231, allocations: 3.938 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000899/0.624, allocations: 241.6 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.624, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.624, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.624, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.6244, allocations: 48.69 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6244, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.6246, allocations: 35.95 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.6247, allocations: 7.984 kB / 1.023 GB, free: 12.37 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.37e-05/0.6248, allocations: 114.3 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.6248, allocations: 11.91 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.6248, allocations: 12.38 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6248, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6249, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6249, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.6266, allocations: 0.5973 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6266, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.6269, allocations: 52 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6269, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6269, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.6269, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6269, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.6278, allocations: 344.9 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.6279, allocations: 85.02 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.6279, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.6282, allocations: 43.95 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.6282, allocations: 15.86 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.6283, allocations: 7.984 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.6283, allocations: 87.28 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6283, allocations: 0 / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003086/0.6286, allocations: 47.92 kB / 1.025 GB, free: 10.84 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.0002081/0.6288, allocations: 127.2 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000906/0.6298, allocations: 211.9 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6298, allocations: 192 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.6302, allocations: 108 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.6305, allocations: 15.94 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.632, allocations: 437.8 kB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.6322, allocations: 0.6887 MB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.6323, allocations: 19.42 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6323, allocations: 4 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.003116/0.6355, allocations: 1.417 MB / 1.028 GB, free: 7.758 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/jenkins1/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