Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.21/3.21, allocations: 497.2 MB / 0.7812 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.73 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00269/0.3347, allocations: 1.432 MB / 1.305 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.336, allocations: 0.8064 MB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.336, allocations: 0 / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.336, allocations: 3.938 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.3361, allocations: 0 / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3365, allocations: 131.5 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.3366, allocations: 39.86 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.3367, allocations: 7.984 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.3367, allocations: 8 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.3368, allocations: 23.91 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3368, allocations: 4 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3373, allocations: 319.3 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3373, allocations: 8 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.3373, allocations: 11.92 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3377, allocations: 199.7 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3377, allocations: 0 / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3377, allocations: 4 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3377, allocations: 0 / 1.307 GB, free: 14.52 MB / 1.014 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.0006317/0.3383, allocations: 379 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3384, allocations: 8.625 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.3384, allocations: 38.69 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.3389, allocations: 60.86 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.339, allocations: 176.3 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3391, allocations: 384 / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3391, allocations: 384 / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3394, allocations: 93.73 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3394, allocations: 0 / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3394, allocations: 0 / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3394, allocations: 4 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.3398, allocations: 83.91 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.3403, allocations: 308.7 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.3407, allocations: 94.5 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.3409, allocations: 52.88 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3409, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.341, allocations: 38.5 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.341, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0007183/0.3417, allocations: 169.6 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3417, allocations: 55.41 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3418, allocations: 101.8 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3418, allocations: 25.7 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3419, allocations: 84.14 kB / 1.309 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3419, allocations: 7.953 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.342, allocations: 17.7 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3421, allocations: 314.8 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3423, allocations: 47.95 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3425, allocations: 48.2 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.3429, allocations: 88.83 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3429, allocations: 4 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004301/0.3433, allocations: 129.5 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3434, allocations: 4 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3434, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3434, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3435, allocations: 23.97 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3435, allocations: 3.984 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3437, allocations: 27.94 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3437, allocations: 4 kB / 1.309 GB, free: 11.85 MB / 1.014 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 8.986e-05/0.3438, allocations: 113.8 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3438, allocations: 4 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3438, allocations: 3.125 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3438, allocations: 0 / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3438, allocations: 4 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3438, allocations: 0 / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.344, allocations: 177.6 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.344, allocations: 0 / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3442, allocations: 27.91 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3442, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3442, allocations: 4 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3442, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3442, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.3447, allocations: 223.3 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.3447, allocations: 81.06 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3448, allocations: 8 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3449, allocations: 15.97 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3449, allocations: 4 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.345, allocations: 8.016 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.345, allocations: 79.28 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 3.938 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002435/0.3452, allocations: 16 kB / 1.31 GB, free: 10.99 MB / 1.014 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.0008472/0.3461, allocations: 0.7591 MB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3465, allocations: 91.94 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3465, allocations: 4.062 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.3467, allocations: 47.95 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.347, allocations: 4.172 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.3477, allocations: 202.9 kB / 1.311 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.348, allocations: 0.6807 MB / 1.312 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.748e-05/0.3481, allocations: 8 kB / 1.312 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.3481, allocations: 15.44 kB / 1.312 GB, free: 9.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3481, allocations: 0 / 1.312 GB, free: 9.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3716, allocations: 1.698 MB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.452, allocations: 10.59 kB / 1.313 GB, free: 7.492 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.351727217901498]