Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008524/0.0008524, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001441/0.001441, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.695/1.695, allocations: 359 MB / 0.6037 GB, free: 11.13 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.72e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001982/0.001999, allocations: 1.456 MB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.00308, allocations: 0.7637 MB / 0.9527 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.003111, allocations: 0 / 0.9527 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.003137, allocations: 3.984 kB / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.003178, allocations: 7.875 kB / 0.9527 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.003582, allocations: 135.4 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.003653, allocations: 31.92 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003755, allocations: 7.984 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.003811, allocations: 15.98 kB / 0.9529 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.003861, allocations: 23.91 kB / 0.9529 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003875, allocations: 8 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.004147, allocations: 243.5 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.004162, allocations: 3.938 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.004182, allocations: 11.98 kB / 0.9531 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.004412, allocations: 207.5 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004414, allocations: 0 / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004415, allocations: 3.938 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004419, allocations: 0 / 0.9533 GB, free: 0.5977 MB / 0.9011 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.0003812/0.0048, allocations: 301.9 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.00484, allocations: 8.031 kB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.00487, allocations: 34.75 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.005128, allocations: 72.8 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.005208, allocations: 109.7 kB / 0.9538 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.00523, allocations: 8.375 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.005239, allocations: 4.312 kB / 0.9539 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.005442, allocations: 82.12 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005449, allocations: 192 / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.00546, allocations: 8.125 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005465, allocations: 0 / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.005684, allocations: 95.89 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.006053, allocations: 260 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.006248, allocations: 90.5 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.006353, allocations: 56.75 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006368, allocations: 4 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.006388, allocations: 34.56 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.006389, allocations: 0 / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0004014/0.00679, allocations: 161.5 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.006818, allocations: 55.53 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.006875, allocations: 109.8 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006886, allocations: 25.7 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.006921, allocations: 84.14 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.006937, allocations: 3.953 kB / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.006967, allocations: 13.72 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.00705, allocations: 326.8 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.007152, allocations: 47.89 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.007247, allocations: 39.95 kB / 0.9553 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.007435, allocations: 92.83 kB / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007436, allocations: 0 / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002375/0.007674, allocations: 133.5 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.007685, allocations: 8.031 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00769, allocations: 0 / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.007701, allocations: 0 / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.007788, allocations: 19.97 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007793, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.007843, allocations: 15.92 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007849, allocations: 7.984 kB / 0.9556 GB, free: 14.13 MB / 0.9167 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.385e-05/0.007903, allocations: 109.8 kB / 0.9557 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.007918, allocations: 11.83 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.007943, allocations: 15.25 kB / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007945, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007948, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.00795, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.008056, allocations: 128.8 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008057, allocations: 3.938 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.008115, allocations: 27.97 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.008116, allocations: 0 / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008123, allocations: 0 / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008124, allocations: 3.984 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008125, allocations: 0 / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.008378, allocations: 211.5 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.008388, allocations: 11.92 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.008399, allocations: 3.938 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.008471, allocations: 20.02 kB / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.008505, allocations: 7.984 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.008509, allocations: 256 / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.008547, allocations: 83.28 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008547, allocations: 0 / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001624/0.008709, allocations: 15.94 kB / 0.9562 GB, free: 13.42 MB / 0.9167 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.0004703/0.00918, allocations: 0.763 MB / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.009426, allocations: 95.88 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009428, allocations: 0 / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.009529, allocations: 52 kB / 0.9571 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009723, allocations: 11.94 kB / 0.9571 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.01016, allocations: 190.4 kB / 0.9573 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.0102, allocations: 59.34 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.01025, allocations: 8 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01029, allocations: 20.48 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.01029, allocations: 3.938 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.0247, allocations: 2.394 MB / 0.9597 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.976, allocations: 5.531 kB / 0.9597 GB, free: 9.887 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.935146382078528]