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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 66.73 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.298, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002933/0.301, allocations: 1.45 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3024, allocations: 0.7962 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.3024, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.3025, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.3025, allocations: 3.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.303, allocations: 131.5 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.3031, allocations: 35.91 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.3032, allocations: 8 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.3033, allocations: 19.92 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.3033, allocations: 11.98 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3033, allocations: 4 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.3038, allocations: 319.3 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3038, allocations: 11.92 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3039, allocations: 8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.3042, allocations: 195.9 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3042, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3042, allocations: 4 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3042, allocations: 3.938 kB / 1.067 GB, free: 11.18 MB / 0.8262 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.0005445/0.3048, allocations: 375.3 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3048, allocations: 12.03 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.3049, allocations: 34.75 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.3053, allocations: 64.84 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3055, allocations: 164.4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3055, allocations: 384 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3055, allocations: 4.312 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3058, allocations: 89.75 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3058, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3059, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3059, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3063, allocations: 91.89 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.3068, allocations: 304.7 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3072, allocations: 94.44 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3074, allocations: 60.86 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3075, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3075, allocations: 30.56 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3075, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007212/0.3082, allocations: 161.7 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3083, allocations: 59.39 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.3084, allocations: 101.8 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3084, allocations: 25.7 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.3084, allocations: 84.14 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3085, allocations: 7.891 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.3085, allocations: 13.72 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3086, allocations: 318.8 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3089, allocations: 48.2 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3091, allocations: 47.94 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.3095, allocations: 92.83 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3095, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000452/0.3099, allocations: 121.6 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.31, allocations: 4 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.31, allocations: 4 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.31, allocations: 11.86 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3102, allocations: 24 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3102, allocations: 0 / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3103, allocations: 19.97 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3103, allocations: 0 / 1.069 GB, free: 8.527 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 8.137e-05/0.3104, allocations: 113.8 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3104, allocations: 7.906 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.3105, allocations: 7.109 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3105, allocations: 7.938 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3105, allocations: 0 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3105, allocations: 4 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3107, allocations: 173.6 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3107, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3108, allocations: 19.97 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3108, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3108, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3109, allocations: 7.984 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3109, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.3114, allocations: 219.3 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.3114, allocations: 81.09 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3114, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3116, allocations: 15.98 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.3116, allocations: 8.016 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3116, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.3117, allocations: 83.28 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3117, allocations: 0 / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002286/0.3119, allocations: 16 kB / 1.07 GB, free: 7.684 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.0008252/0.3128, allocations: 0.7591 MB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.3132, allocations: 99.88 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3132, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.3135, allocations: 47.94 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3137, allocations: 14.59 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.3144, allocations: 191.2 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3147, allocations: 0.6806 MB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.3148, allocations: 8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.3148, allocations: 15.42 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3148, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/1.479, allocations: 1.647 MB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.716/11.19, allocations: 22.83 kB / 1.073 GB, free: 4.188 MB / 0.8262 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches