Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001275/0.001275, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001514/0.001514, allocations: 214.2 kB / 23.04 MB, free: 5.07 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="cs",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.002045/0.002045, allocations: 62.17 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4182, allocations: 176.1 MB / 1.327 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002595/0.4208, allocations: 0.7596 MB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.4211, allocations: 56.23 kB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.4212, allocations: 3.938 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.4214, allocations: 19.86 kB / 1.328 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.4215, allocations: 15.92 kB / 1.328 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.4217, allocations: 33.91 kB / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.4219, allocations: 119.7 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.4221, allocations: 80.84 kB / 1.328 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.4222, allocations: 71.78 kB / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4223, allocations: 75.64 kB / 1.328 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.4224, allocations: 12 kB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.4224, allocations: 15.94 kB / 1.328 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.4225, allocations: 59.84 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4226, allocations: 83.42 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.4229, allocations: 247.2 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4229, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4229, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4229, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006161/0.4235, allocations: 433.7 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4236, allocations: 12.03 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.4236, allocations: 8.562 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.4236, allocations: 54.73 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.4237, allocations: 28.75 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.424, allocations: 194.2 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4241, allocations: 16.73 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.4241, allocations: 16.38 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.4246, allocations: 356.6 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4246, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.4247, allocations: 8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.4247, allocations: 12 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.4251, allocations: 267.8 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4264, allocations: 1.061 MB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4265, allocations: 169.1 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.4266, allocations: 80.14 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.4266, allocations: 79.41 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.4267, allocations: 117.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.4267, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000103/0.4268, allocations: 57.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.4268, allocations: 126.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.4274, allocations: 0.4965 MB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.4274, allocations: 25.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.4276, allocations: 171.9 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.4276, allocations: 0 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.4276, allocations: 33.66 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4278, allocations: 346.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.4279, allocations: 47.97 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.428, allocations: 90.83 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4282, allocations: 122.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4282, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003203/0.4285, allocations: 197.2 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4285, allocations: 8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4285, allocations: 3.984 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4285, allocations: 4 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4286, allocations: 19.98 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4286, allocations: 7.938 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4288, allocations: 35.73 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4288, allocations: 11.98 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001852/0.429, allocations: 249.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4291, allocations: 128.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.4292, allocations: 134.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-05/0.4292, allocations: 180.2 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-05/0.4293, allocations: 192.2 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-05/0.4294, allocations: 180.3 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.4298, allocations: 468.2 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/0.4298, allocations: 105 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.4299, allocations: 104.9 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.268e-05/0.4299, allocations: 188.2 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.43, allocations: 176.3 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.744e-05/0.4301, allocations: 188.2 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.055e-05/0.4302, allocations: 180.3 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4304, allocations: 327.6 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4305, allocations: 144.8 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4306, allocations: 188.5 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4307, allocations: 105 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.4308, allocations: 184.3 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.4309, allocations: 104.9 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003907/0.4313, allocations: 366.9 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4313, allocations: 0 / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002773/0.4315, allocations: 28 kB / 1.337 GB, free: 7.312 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 (0): * Single equations (assignments): 0 * 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.0005512/0.4321, allocations: 0.8281 MB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.4322, allocations: 79.83 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4322, allocations: 0.5 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.4322, allocations: 4 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.4329, allocations: 481.1 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.4366, allocations: 3.295 MB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.437, allocations: 0.7827 MB / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.4371, allocations: 45.62 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4373, allocations: 67.41 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.4373, allocations: 3.938 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4647, allocations: 4.781 MB / 1.347 GB, free: 12.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.97, allocations: 8.266 kB / 1.347 GB, free: 12.93 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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: 19.240158770000562]