Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.0008446/0.0008445, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00503/0.00503, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5454, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.0007117/0.5462, allocations: 491.4 kB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.5468, allocations: 0.8343 MB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.5469, allocations: 1.188 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.5469, allocations: 0 / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.547, allocations: 5.188 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.5471, allocations: 24.38 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.5472, allocations: 72.06 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.5473, allocations: 20.11 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.5473, allocations: 25.84 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.5474, allocations: 28.84 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.5474, allocations: 3.25 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.5475, allocations: 3.594 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.5475, allocations: 13.89 kB / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.5475, allocations: 58.03 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.5476, allocations: 71.84 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5476, allocations: 0 / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5476, allocations: 0 / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.5476, allocations: 0 / 0.9568 GB, free: 6.355 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003922/0.548, allocations: 366.6 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5481, allocations: 13.62 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.5481, allocations: 35.62 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.5481, allocations: 12.47 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.5482, allocations: 181.2 kB / 0.9574 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5482, allocations: 6.781 kB / 0.9574 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5482, allocations: 4.5 kB / 0.9574 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5484, allocations: 83.11 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5485, allocations: 3.938 kB / 0.9575 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5485, allocations: 9.281 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.5485, allocations: 1.312 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.5487, allocations: 76.25 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.549, allocations: 334.7 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.5493, allocations: 85.89 kB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5494, allocations: 46.61 kB / 0.958 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5494, allocations: 3.938 kB / 0.958 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.5494, allocations: 32.38 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.5494, allocations: 0 / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004134/0.5499, allocations: 156.2 kB / 0.9582 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.5499, allocations: 56.38 kB / 0.9582 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.55, allocations: 122.2 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.55, allocations: 25.7 kB / 0.9584 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.55, allocations: 90.8 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.55, allocations: 23.95 kB / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.55, allocations: 14.91 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.5501, allocations: 320.9 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5502, allocations: 36.22 kB / 0.9588 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.5503, allocations: 41.25 kB / 0.9589 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.5505, allocations: 79.56 kB / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5505, allocations: 0 / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002566/0.5508, allocations: 117 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5508, allocations: 5.969 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5508, allocations: 1.156 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.5508, allocations: 0 / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.551, allocations: 18.02 kB / 0.9591 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.551, allocations: 0 / 0.9591 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.5511, allocations: 19.83 kB / 0.9591 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5511, allocations: 5.281 kB / 0.9591 GB, free: 4.223 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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 4.945e-05/0.5511, allocations: 120.7 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.5512, allocations: 7 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.5512, allocations: 13.77 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5512, allocations: 1.828 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5512, allocations: 7.938 kB / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5512, allocations: 0 / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.5513, allocations: 194.1 kB / 0.9594 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5513, allocations: 3.984 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.5515, allocations: 22.64 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5515, allocations: 0 / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.5515, allocations: 9.953 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5515, allocations: 0 / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5515, allocations: 0 / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.5518, allocations: 215.9 kB / 0.9597 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.5518, allocations: 82.55 kB / 0.9598 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.5518, allocations: 1.562 kB / 0.9598 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5519, allocations: 9.641 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.552, allocations: 11.7 kB / 0.9598 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.552, allocations: 2.594 kB / 0.9598 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.552, allocations: 105.9 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.552, allocations: 0 / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002072/0.5522, allocations: 8.969 kB / 0.9599 GB, free: 3.453 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 (6): * Single equations (assignments): 6 * 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.000429/0.5527, allocations: 0.757 MB / 0.9606 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.5529, allocations: 81.44 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5529, allocations: 4 kB / 0.9607 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5531, allocations: 48.84 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.5533, allocations: 2.75 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.5546, allocations: 1.501 MB / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.5547, allocations: 0.6891 MB / 0.9629 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.5548, allocations: 9.5 kB / 0.9629 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.5548, allocations: 22.17 kB / 0.9629 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.5548, allocations: 0 / 0.9629 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.713/3.268, allocations: 1.956 MB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/3.268, allocations: 207.8 kB / 0.965 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/5.803, allocations: 0 / 0.965 GB, free: 15.4 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches