Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.001497/0.001497, 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.001923/0.001923, allocations: 188 kB / 16.25 MB, free: 6.625 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.285/2.285, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6106, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001694/0.6123, allocations: 0.7301 MB / 0.95 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.613, allocations: 0.8021 MB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.613, allocations: 0 / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.6131, allocations: 1.062 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.6131, allocations: 7.922 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.6133, allocations: 9.641 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.6134, allocations: 14 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.6135, allocations: 14.92 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.6135, allocations: 7.062 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.6136, allocations: 14.64 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.6136, allocations: 2.75 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.6136, allocations: 1.406 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.6136, allocations: 5.344 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.6136, allocations: 9.234 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.956e-05/0.6137, allocations: 24.09 kB / 0.9509 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6137, allocations: 5.234 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6137, allocations: 0 / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6137, allocations: 0 / 0.9509 GB, free: 7.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003573/0.6141, allocations: 343.4 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6141, allocations: 9.625 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.6142, allocations: 30.75 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.6142, allocations: 2.312 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.6143, allocations: 165.7 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6143, allocations: 1.75 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.6143, allocations: 1.75 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.6145, allocations: 53.23 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6145, allocations: 3.938 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.6145, allocations: 5.312 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6145, allocations: 0 / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.6146, allocations: 35.2 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.6149, allocations: 239.9 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.615, allocations: 44.25 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.6151, allocations: 26.45 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6151, allocations: 0 / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.6151, allocations: 39.81 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.6152, allocations: 0 / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.6155, allocations: 85.27 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.6155, allocations: 51.41 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.215e-05/0.6155, allocations: 95.36 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.6156, allocations: 25.7 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.6156, allocations: 89.5 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.6156, allocations: 9.219 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.6156, allocations: 11.09 kB / 0.9522 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.6157, allocations: 324.3 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.6157, allocations: 13.61 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.6158, allocations: 28.16 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.616, allocations: 35.58 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.616, allocations: 5.344 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001661/0.6161, allocations: 68.09 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6162, allocations: 5.406 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6162, allocations: 0 / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.6162, allocations: 0 / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.6163, allocations: 10.48 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6163, allocations: 0 / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.6163, allocations: 3.875 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.6163, allocations: 5.156 kB / 0.9526 GB, free: 6.012 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 (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 4.469e-05/0.6164, allocations: 116.2 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.6164, allocations: 11.83 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.6166, allocations: 66.91 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6166, allocations: 1.094 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6166, allocations: 0 / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.6166, allocations: 0 / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.6168, allocations: 162.7 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6168, allocations: 0 / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.6168, allocations: 10.14 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6168, allocations: 1.844 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.6168, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6168, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6169, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.617, allocations: 175.6 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.6171, allocations: 78.58 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.6171, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.6172, allocations: 7.422 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.6172, allocations: 1.344 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.6172, allocations: 5.625 kB / 0.9533 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.6172, allocations: 81.61 kB / 0.9533 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6172, allocations: 3.938 kB / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.6175, allocations: 8.375 kB / 0.9533 GB, free: 5.27 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 (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.0003562/0.6178, allocations: 0.6953 MB / 0.954 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.618, allocations: 45.89 kB / 0.9541 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.618, allocations: 0 / 0.9541 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.6181, allocations: 18.64 kB / 0.9541 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.6184, allocations: 4.594 kB / 0.9541 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.6187, allocations: 136.8 kB / 0.9542 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.6188, allocations: 0.6851 MB / 0.9549 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.6188, allocations: 3.938 kB / 0.9549 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.6189, allocations: 12.69 kB / 0.9549 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6189, allocations: 0 / 0.9549 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/0.8434, allocations: 1.107 MB / 0.956 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.8436, allocations: 209.2 kB / 0.9562 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.879, allocations: 0 / 0.9562 GB, free: 2.855 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches