Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8887/0.8887, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.29e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002183/0.002206, allocations: 0.6331 MB / 0.9816 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.004286, allocations: 1.431 MB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.004325, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.004345, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.004424, allocations: 15.92 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.004903, allocations: 119.4 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.00498, allocations: 23.92 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.005031, allocations: 8 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.005089, allocations: 19.91 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.005156, allocations: 15.97 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.005175, allocations: 4 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.00559, allocations: 251.4 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.005612, allocations: 7.938 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.005638, allocations: 11.98 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.005947, allocations: 195.5 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.00595, allocations: 4 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005952, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.005957, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 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.0005133/0.00647, allocations: 305.8 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.006517, allocations: 12.03 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.006555, allocations: 30.75 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.006869, allocations: 64.81 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.007004, allocations: 113.7 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.007026, allocations: 4.375 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.007048, allocations: 4.375 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.007293, allocations: 74.2 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.007308, allocations: 4.141 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.007322, allocations: 12.11 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.007328, allocations: 0 / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.007608, allocations: 67.92 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.007797, allocations: 136.8 kB / 0.9845 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.008232, allocations: 130.3 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.008373, allocations: 40.94 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.008394, allocations: 0 / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.008421, allocations: 34.56 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.008423, allocations: 0 / 0.9847 GB, free: 14.62 MB / 0.948 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.002921/0.01134, allocations: 0.7952 MB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.01138, allocations: 59.39 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.01146, allocations: 113.8 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.01147, allocations: 25.7 kB / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.0115, allocations: 84.14 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.01153, allocations: 27.75 kB / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.01158, allocations: 25.7 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.01166, allocations: 326.8 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.01189, allocations: 99.89 kB / 0.9862 GB, free: 13.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.01209, allocations: 91.91 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.01249, allocations: 196.6 kB / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01249, allocations: 0 / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004823/0.01298, allocations: 253.5 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01299, allocations: 6.656 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.013, allocations: 4 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01301, allocations: 0 / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01318, allocations: 51.94 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01318, allocations: 4.312 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01329, allocations: 36.69 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.0133, allocations: 8 kB / 0.9868 GB, free: 12.39 MB / 0.948 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.198e-05/0.01336, allocations: 109.8 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.01337, allocations: 11.89 kB / 0.9869 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.01341, allocations: 16.44 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01341, allocations: 3.984 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01342, allocations: 0 / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01342, allocations: 0 / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.01435, allocations: 0.5692 MB / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01435, allocations: 0 / 0.9875 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.01447, allocations: 52 kB / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.01447, allocations: 4 kB / 0.9876 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01448, allocations: 3.984 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.01448, allocations: 4 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01448, allocations: 0 / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.01496, allocations: 340.9 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01498, allocations: 7.953 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01499, allocations: 4 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.0151, allocations: 35.95 kB / 0.9879 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.01514, allocations: 15.92 kB / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.01515, allocations: 4 kB / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.01518, allocations: 95.2 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01518, allocations: 7.938 kB / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002126/0.0154, allocations: 39.86 kB / 0.9881 GB, free: 10.99 MB / 0.948 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.0007529/0.01615, allocations: 0.8936 MB / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.01662, allocations: 211.8 kB / 0.9892 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01662, allocations: 0 / 0.9892 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.01683, allocations: 108 kB / 0.9893 GB, free: 9.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.01701, allocations: 7.984 kB / 0.9893 GB, free: 9.742 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.01955, allocations: 2.146 MB / 0.9914 GB, free: 7.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01961, allocations: 71.2 kB / 0.9914 GB, free: 7.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.148e-05/0.01968, allocations: 20.73 kB / 0.9915 GB, free: 7.391 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.01976, allocations: 32.47 kB / 0.9915 GB, free: 7.359 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/0.01976, allocations: 0 / 0.9915 GB, free: 7.359 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.03565, allocations: 3.501 MB / 0.9949 GB, free: 4.012 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.125, allocations: 8.062 kB / 0.9949 GB, free: 4.004 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.068669258616865]