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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005468/0.005468, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 10.69 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2555, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006836/0.2563, allocations: 378.6 kB / 1.059 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.258, allocations: 1.462 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.2581, allocations: 7.938 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.2581, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.2582, allocations: 3.938 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2585, allocations: 98.69 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.2586, allocations: 27.97 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.2586, allocations: 4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.2587, allocations: 15.88 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.2587, allocations: 19.91 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2588, allocations: 0 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.2592, allocations: 315.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.2592, allocations: 11.92 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.2593, allocations: 41.62 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2595, allocations: 187.9 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2595, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.125e-06/0.2595, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2596, allocations: 3.938 kB / 1.061 GB, free: 2.301 MB / 0.8106 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.0004117/0.26, allocations: 367.4 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.26, allocations: 15.97 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.2601, allocations: 38.69 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.2604, allocations: 72.86 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2605, allocations: 176.3 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2606, allocations: 4.375 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.2606, allocations: 4.375 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2609, allocations: 81.77 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.2613, allocations: 87.92 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2614, allocations: 165.7 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.262, allocations: 154.5 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2621, allocations: 44.95 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2622, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2622, allocations: 38.5 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2622, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 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.00419/0.2664, allocations: 0.9596 MB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2664, allocations: 55.48 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.2665, allocations: 125.7 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2666, allocations: 29.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.2666, allocations: 84.14 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2666, allocations: 27.56 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.2667, allocations: 13.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.2668, allocations: 318.8 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.2672, allocations: 119.9 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.2677, allocations: 115.9 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.2685, allocations: 240.6 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2685, allocations: 7.875 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009119/0.2694, allocations: 281.4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2695, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2695, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2695, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.2698, allocations: 63.94 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2698, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.27, allocations: 51.95 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2701, allocations: 7.984 kB / 1.065 GB, free: 14.36 MB / 0.8262 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 7.792e-05/0.2702, allocations: 113.8 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.2702, allocations: 7.906 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.2702, allocations: 8.375 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2702, allocations: 8.219 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2702, allocations: 3.984 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2702, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.2719, allocations: 0.6598 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2719, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.2722, allocations: 68 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2722, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2722, allocations: 3.984 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2722, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2722, allocations: 7.875 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.2732, allocations: 385 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2732, allocations: 81.02 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2733, allocations: 11.98 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.2735, allocations: 39.97 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2736, allocations: 23.89 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2736, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.2736, allocations: 91.27 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2737, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002738/0.2739, allocations: 32 kB / 1.066 GB, free: 12.71 MB / 0.8262 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.00124/0.2752, allocations: 0.9442 MB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009229/0.2761, allocations: 251.7 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2761, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.2766, allocations: 135.9 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.2768, allocations: 11.94 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.2813, allocations: 2.3 MB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2815, allocations: 0.6848 MB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.2816, allocations: 24.66 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.2817, allocations: 23.42 kB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2817, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/1.508, allocations: 2.48 MB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.509, allocations: 230.2 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.416, allocations: 2.25 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > 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