Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.00131/0.00131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001374/0.001374, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6644 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.14 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6966, allocations: 140.4 MB / 0.9493 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.00194/0.6985, allocations: 0.8047 MB / 0.95 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.6988, allocations: 57.08 kB / 0.9501 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.6988, allocations: 1.531 kB / 0.9501 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.699, allocations: 17.17 kB / 0.9501 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.6991, allocations: 8.391 kB / 0.9501 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.6993, allocations: 19.48 kB / 0.9501 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.6995, allocations: 121.3 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.6998, allocations: 163.6 kB / 0.9504 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.6999, allocations: 72.72 kB / 0.9505 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.7, allocations: 73.81 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.7, allocations: 15 kB / 0.9506 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.7, allocations: 12.38 kB / 0.9506 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.7001, allocations: 52.42 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.7002, allocations: 89.36 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.7004, allocations: 228 kB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7004, allocations: 0 / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7004, allocations: 0 / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.7004, allocations: 1.094 kB / 0.9509 GB, free: 8.113 MB / 0.7169 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.0004858/0.7009, allocations: 0.4885 MB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.701, allocations: 13.19 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.701, allocations: 61.27 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.7011, allocations: 23.53 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.7013, allocations: 256.9 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7014, allocations: 16.69 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.7014, allocations: 16.5 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.7019, allocations: 343.7 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.7019, allocations: 7.875 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.7019, allocations: 18.7 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.702, allocations: 11.75 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.7023, allocations: 263.8 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.7034, allocations: 1.081 MB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.7034, allocations: 178.2 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.7035, allocations: 80.14 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.7035, allocations: 76.75 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.7035, allocations: 110 kB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7035, allocations: 0 / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.788e-05/0.7036, allocations: 52.44 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.7036, allocations: 131.9 kB / 0.9541 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.7041, allocations: 0.5059 MB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.7041, allocations: 25.7 kB / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.7042, allocations: 165.7 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.7042, allocations: 4 kB / 0.9547 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.7043, allocations: 30.08 kB / 0.9548 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.7044, allocations: 337.2 kB / 0.9551 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.7044, allocations: 54.45 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.7045, allocations: 102 kB / 0.9552 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.7047, allocations: 121.9 kB / 0.9553 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7047, allocations: 0 / 0.9553 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002926/0.705, allocations: 198.5 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.705, allocations: 11.69 kB / 0.9555 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.705, allocations: 1.25 kB / 0.9556 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.705, allocations: 6.75 kB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7051, allocations: 20.73 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7051, allocations: 1.938 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.7052, allocations: 30.22 kB / 0.9556 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.7052, allocations: 11.16 kB / 0.9556 GB, free: 4.344 MB / 0.7169 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.0001305/0.7054, allocations: 256.5 kB / 0.9559 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.7054, allocations: 136.3 kB / 0.956 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.7055, allocations: 135.3 kB / 0.9561 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.7055, allocations: 181.6 kB / 0.9563 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/0.7056, allocations: 181.6 kB / 0.9565 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.7056, allocations: 181.7 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.7058, allocations: 498 kB / 0.9571 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.7059, allocations: 102.1 kB / 0.9572 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.7059, allocations: 110 kB / 0.9573 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/0.7059, allocations: 181.2 kB / 0.9575 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.7059, allocations: 181 kB / 0.9577 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.536e-05/0.706, allocations: 181.1 kB / 0.9578 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.759e-05/0.706, allocations: 181.6 kB / 0.958 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.358e-05/0.7061, allocations: 324 kB / 0.9583 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.7062, allocations: 225.1 kB / 0.9585 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.7063, allocations: 181.8 kB / 0.9587 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.7064, allocations: 107.8 kB / 0.9588 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.7064, allocations: 185.3 kB / 0.959 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.7064, allocations: 110.3 kB / 0.9591 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004076/0.7068, allocations: 362.7 kB / 0.9594 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7068, allocations: 0 / 0.9594 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002694/0.7071, allocations: 24.22 kB / 0.9595 GB, free: 0.5234 MB / 0.7169 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.0004559/0.7076, allocations: 0.8392 MB / 0.9603 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.7078, allocations: 63.95 kB / 0.9603 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7078, allocations: 1.625 kB / 0.9603 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.7078, allocations: 0.5 kB / 0.9603 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.7084, allocations: 489.9 kB / 0.9608 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.7121, allocations: 3.327 MB / 0.9641 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.7125, allocations: 0.7762 MB / 0.9648 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.372e-05/0.7126, allocations: 55.2 kB / 0.9649 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.7127, allocations: 60.11 kB / 0.9649 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7127, allocations: 0 / 0.9649 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.7311, allocations: 4.447 MB / 0.9693 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.7314, allocations: 209 kB / 0.9695 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.536, allocations: 3.938 kB / 0.9695 GB, free: 9.812 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches