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.001645/0.001645, allocations: 95.77 kB / 18.94 MB, free: 2.832 MB / 14.72 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.00193/0.00193, allocations: 220.2 kB / 22.25 MB, free: 5.113 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 66.95 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002565/0.3276, allocations: 1.459 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3288, allocations: 0.7594 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.3289, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.3289, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.3289, allocations: 3.938 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.3294, allocations: 135.5 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.3294, allocations: 31.92 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.3295, allocations: 7.984 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.3295, allocations: 8 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.3296, allocations: 23.91 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3296, allocations: 4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.33, allocations: 263.5 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.33, allocations: 8 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.3301, allocations: 7.922 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.3304, allocations: 187.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3304, allocations: 7.984 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3304, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3304, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 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.0005013/0.3309, allocations: 297.9 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3309, allocations: 8.031 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.3309, allocations: 34.75 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.3314, allocations: 68.84 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.3315, allocations: 114.4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3315, allocations: 384 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3316, allocations: 4.312 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3319, allocations: 93.75 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3319, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3319, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3319, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.3323, allocations: 91.91 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.3328, allocations: 263.9 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.3332, allocations: 94.44 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3334, allocations: 52.86 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3334, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3335, allocations: 34.56 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3335, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007131/0.3342, allocations: 161.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3342, allocations: 55.34 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.3343, allocations: 101.9 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3343, allocations: 25.7 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3344, allocations: 96.08 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3344, allocations: 4.062 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3344, allocations: 17.72 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3346, allocations: 322.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3348, allocations: 43.94 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.335, allocations: 47.95 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3354, allocations: 88.83 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3354, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004525/0.3358, allocations: 129.5 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3358, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3358, allocations: 3.984 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3358, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.336, allocations: 24.02 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.336, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3362, allocations: 19.97 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3362, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 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 7.886e-05/0.3362, allocations: 110.3 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3363, allocations: 11.92 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3363, allocations: 11.3 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3363, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3363, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3363, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3365, allocations: 140.7 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3365, allocations: 4.25 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3366, allocations: 23.97 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3366, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3366, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3366, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3366, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.3371, allocations: 231.3 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.3372, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3372, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3373, allocations: 19.97 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.3374, allocations: 4 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.3374, allocations: 4 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.3374, allocations: 83.27 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3374, allocations: 4.031 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002432/0.3377, allocations: 11.94 kB / 1.332 GB, free: 11.43 MB / 1.029 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.0008559/0.3385, allocations: 0.7592 MB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.339, allocations: 91.92 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.339, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.3392, allocations: 48.02 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3395, allocations: 18.02 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.3402, allocations: 191 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.187e-05/0.3403, allocations: 63.34 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.3404, allocations: 11.98 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.3405, allocations: 11.44 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3405, allocations: 3.938 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3683, allocations: 2.275 MB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 10.98 kB / 1.335 GB, free: 8.008 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/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: 18.158072703983635]