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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008631, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004983/0.004983, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.375/2.375, allocations: 462.6 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 11.53 kB / 0.9029 GB, free: 36.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001446/0.2521, allocations: 1.171 MB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2533, allocations: 0.8025 MB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.2533, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.2533, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.2534, allocations: 3.938 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2538, allocations: 107.7 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.2538, allocations: 31.91 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.2539, allocations: 4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.254, allocations: 15.98 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.254, allocations: 15.92 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2541, allocations: 8 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.2545, allocations: 311.3 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.2545, allocations: 4 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.2546, allocations: 41.62 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.2548, allocations: 195.9 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2548, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2549, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.2549, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 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.0004729/0.2553, allocations: 376.7 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2554, allocations: 11.97 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.2554, allocations: 34.69 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/0.2559, allocations: 84.75 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.256, allocations: 160.4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.256, allocations: 4.375 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2561, allocations: 4.375 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.2564, allocations: 101.7 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.2564, allocations: 4 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2564, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2564, allocations: 3.938 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.2569, allocations: 115.9 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2574, allocations: 304.8 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.2578, allocations: 114.4 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.258, allocations: 72.86 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.258, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2581, allocations: 30.56 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2581, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0007616/0.2588, allocations: 205.6 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2589, allocations: 55.39 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.2589, allocations: 97.86 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.259, allocations: 29.7 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.259, allocations: 80.14 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.259, allocations: 15.83 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.2591, allocations: 9.719 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2592, allocations: 322.8 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2594, allocations: 55.95 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2596, allocations: 51.95 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.26, allocations: 116.8 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2601, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004694/0.2605, allocations: 149.6 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2606, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2606, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.2606, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2608, allocations: 31.94 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2608, allocations: 7.938 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2609, allocations: 19.97 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2609, allocations: 8 kB / 1.064 GB, free: 15.38 MB / 0.8262 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 6.55e-05/0.261, allocations: 109.8 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.261, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.261, allocations: 11.36 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2611, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2611, allocations: 4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2611, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2612, allocations: 173.6 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2612, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.2614, allocations: 31.97 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2614, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2614, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2614, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2614, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.2619, allocations: 251.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.262, allocations: 81.05 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.262, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.2622, allocations: 28 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.2622, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2622, allocations: 3.984 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.2623, allocations: 83.28 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2623, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002346/0.2625, allocations: 16 kB / 1.065 GB, free: 14.5 MB / 0.8262 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.0007754/0.2633, allocations: 0.7866 MB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.2638, allocations: 123.9 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2638, allocations: 0 / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.264, allocations: 60.02 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2643, allocations: 5.234 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.265, allocations: 214.2 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2652, allocations: 0.6809 MB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.731e-05/0.2653, allocations: 12 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.2653, allocations: 11.44 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2653, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3476/0.613, allocations: 1.404 MB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.6132, allocations: 227.9 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.721, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches