Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001168/0.001168, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001364/0.001364, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9181/0.9181, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.731/1.731, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.899e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00176/0.001779, allocations: 1.464 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.00268, allocations: 0.7553 MB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.002716, allocations: 4 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.002742, allocations: 3.938 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.002778, allocations: 0 / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.003144, allocations: 139.4 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.003212, allocations: 27.92 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.003294, allocations: 11.94 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.003341, allocations: 15.98 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.003384, allocations: 15.97 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.003397, allocations: 4 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.003739, allocations: 251.5 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.003754, allocations: 7.984 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.003774, allocations: 11.98 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.004001, allocations: 211.4 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004003, allocations: 0 / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004004, allocations: 0 / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.004008, allocations: 0 / 0.9838 GB, free: 15.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003551/0.004363, allocations: 301.8 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.004405, allocations: 12.03 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.004433, allocations: 30.75 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.00468, allocations: 68.8 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.004761, allocations: 117.8 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.00478, allocations: 384 / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.004794, allocations: 8.359 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.004977, allocations: 82.19 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.004983, allocations: 192 / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.004992, allocations: 4.125 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.004996, allocations: 4 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.005204, allocations: 91.84 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.005565, allocations: 259.9 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.005766, allocations: 94.5 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.005875, allocations: 56.81 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.005888, allocations: 0 / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.00591, allocations: 34.56 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.005912, allocations: 3.984 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0004029/0.006315, allocations: 165.5 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.006352, allocations: 55.41 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.006411, allocations: 102 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006423, allocations: 29.64 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.006462, allocations: 88.14 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.00648, allocations: 7.891 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.006512, allocations: 21.7 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.006595, allocations: 314.8 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.006704, allocations: 47.95 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.0068, allocations: 39.95 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.006994, allocations: 88.83 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006997, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002373/0.007234, allocations: 133.5 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.00725, allocations: 4 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.007254, allocations: 8.031 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.007266, allocations: 0 / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.007363, allocations: 19.97 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007367, allocations: 0 / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.007423, allocations: 19.97 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.007429, allocations: 0 / 0.986 GB, free: 13.2 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 (2): * Single equations (assignments): 2 * 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 5.968e-05/0.007489, allocations: 113.8 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.007507, allocations: 11.89 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.007533, allocations: 3.312 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.007536, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.00754, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007544, allocations: 4 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.007664, allocations: 136.7 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007666, allocations: 3.938 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.007726, allocations: 24.23 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007728, allocations: 0 / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.007741, allocations: 11.98 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007742, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.007744, allocations: 3.938 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.008007, allocations: 211.5 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.008014, allocations: 3.938 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.008026, allocations: 7.938 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.008091, allocations: 15.98 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.008124, allocations: 12.02 kB / 0.9866 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.008127, allocations: 3.938 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.008154, allocations: 79.28 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008154, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001807/0.008335, allocations: 19.92 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000499/0.008834, allocations: 0.7591 MB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.009094, allocations: 99.92 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009096, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.009199, allocations: 48.02 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.009452, allocations: 6.656 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.009921, allocations: 202.4 kB / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.009961, allocations: 55.36 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.01001, allocations: 8 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.01005, allocations: 16.48 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01005, allocations: 4 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02493, allocations: 2.385 MB / 0.9901 GB, free: 8.953 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.767, allocations: 15.41 kB / 0.9902 GB, free: 8.945 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 10.91680021584034]