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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_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.001122/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001326/0.001326, allocations: 193.7 kB / 16.14 MB, free: 6.645 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.485/2.485, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6178, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001691/0.6195, allocations: 0.6995 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.6212, allocations: 1.474 MB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.6212, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.6213, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.6213, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.6216, allocations: 103.6 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.6217, allocations: 27.92 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.6217, allocations: 3.984 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.6218, allocations: 11.94 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.6218, allocations: 19.91 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6218, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.6223, allocations: 311.4 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.6223, allocations: 7.922 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.6223, allocations: 11.94 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.6226, allocations: 197.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.6226, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6226, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.6226, allocations: 0 / 1.02 GB, free: 15.89 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.0003875/0.623, allocations: 375.4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.623, allocations: 8.031 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.6231, allocations: 30.75 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.6234, allocations: 72.77 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6235, allocations: 176.3 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6235, allocations: 4.359 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.6236, allocations: 8.375 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.6238, allocations: 77.77 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6238, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.6238, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.6239, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.6242, allocations: 79.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.6244, allocations: 169.6 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.6249, allocations: 122.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.6251, allocations: 40.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.6251, allocations: 8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6251, allocations: 38.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.6251, allocations: 0 / 1.021 GB, free: 14.53 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.004073/0.6292, allocations: 0.7856 MB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6292, allocations: 51.41 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.6293, allocations: 109.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.6294, allocations: 33.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.6294, allocations: 80.14 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.6294, allocations: 31.55 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.6295, allocations: 25.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.6296, allocations: 318.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.63, allocations: 99.83 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.6304, allocations: 95.91 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/0.6312, allocations: 192.7 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6312, allocations: 3.938 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008392/0.632, allocations: 245.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6321, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6321, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.6321, allocations: 4.75 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.6324, allocations: 55.94 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6324, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.6326, allocations: 31.95 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.6327, allocations: 4 kB / 1.023 GB, free: 12.32 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 7.983e-05/0.6327, allocations: 122.2 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.6328, allocations: 7.906 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.6328, allocations: 12.36 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6328, allocations: 8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6328, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6328, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.6345, allocations: 0.5974 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6345, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.6348, allocations: 63.94 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6348, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6348, allocations: 3.984 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6348, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6348, allocations: 3.938 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.6357, allocations: 333 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.6358, allocations: 89 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.6358, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.636, allocations: 39.95 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.6361, allocations: 15.92 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6361, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.6362, allocations: 91.27 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6362, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003303/0.6365, allocations: 35.94 kB / 1.024 GB, free: 10.79 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.001254/0.6378, allocations: 0.9053 MB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008526/0.6386, allocations: 207.7 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6386, allocations: 3.938 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.6391, allocations: 108 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.6393, allocations: 15.94 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.6436, allocations: 2.138 MB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6439, allocations: 0.6887 MB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.644, allocations: 20.67 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.6441, allocations: 23.42 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.6441, allocations: 0 / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.656, allocations: 2.526 MB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.6563, allocations: 212.9 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.333, allocations: 1.688 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > 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