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.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.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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001022/0.001022, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.106/2.106, allocations: 390.2 MB / 0.6643 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5124, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.00157/0.514, allocations: 0.7228 MB / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.5146, allocations: 0.7989 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.5146, allocations: 0 / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.5146, allocations: 0 / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.5147, allocations: 1.375 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.5148, allocations: 9.312 kB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.5149, allocations: 21.61 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.5149, allocations: 6.75 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.515, allocations: 14.67 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.833e-05/0.515, allocations: 2.75 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.515, allocations: 1.375 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.515, allocations: 5.312 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.5151, allocations: 13.3 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.5151, allocations: 1.375 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.211e-05/0.5151, allocations: 24.02 kB / 0.9507 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5152, allocations: 5.312 kB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5152, allocations: 0 / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.5152, allocations: 0 / 0.9507 GB, free: 7.906 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.0003069/0.5155, allocations: 343.4 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5155, allocations: 9.625 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/0.5155, allocations: 34.75 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.5156, allocations: 2.312 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.895e-05/0.5156, allocations: 169.7 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.5156, allocations: 5.75 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5157, allocations: 1.75 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.5158, allocations: 57.22 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5158, allocations: 3.938 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.5158, allocations: 0 / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5158, allocations: 1.375 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.516, allocations: 33.78 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.5162, allocations: 245.2 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5163, allocations: 42.88 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.5164, allocations: 18.47 kB / 0.9516 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.5164, allocations: 1.375 kB / 0.9516 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.5164, allocations: 39.92 kB / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5164, allocations: 3.938 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.5167, allocations: 80.06 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.5167, allocations: 52.69 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.306e-05/0.5168, allocations: 101.9 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.5168, allocations: 26.8 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.5168, allocations: 81.05 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.5168, allocations: 13.81 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.5169, allocations: 19.58 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.185e-05/0.5169, allocations: 310.8 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.517, allocations: 17.86 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.5171, allocations: 13.48 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.5172, allocations: 44.31 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5172, allocations: 8 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000162/0.5174, allocations: 64.2 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5174, allocations: 4.875 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.5174, allocations: 0 / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5174, allocations: 3.984 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.5175, allocations: 6.844 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5175, allocations: 3.938 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.5175, allocations: 8.297 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5175, allocations: 4 kB / 0.9525 GB, free: 6.039 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 3.715e-05/0.5176, allocations: 112.2 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5176, allocations: 5.469 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5178, allocations: 74.59 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5178, allocations: 0 / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5178, allocations: 0 / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5178, allocations: 9.203 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.5179, allocations: 157.5 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5179, allocations: 0 / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.518, allocations: 10.77 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.518, allocations: 0 / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.518, allocations: 1.125 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.518, allocations: 4 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.518, allocations: 0 / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.5182, allocations: 171.6 kB / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.5182, allocations: 78.39 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.5182, allocations: 3.938 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.5183, allocations: 7.609 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.5184, allocations: 2.5 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.5184, allocations: 0 / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.874e-05/0.5184, allocations: 86.42 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5184, allocations: 5.156 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001981/0.5186, allocations: 2.688 kB / 0.9532 GB, free: 5.297 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.000325/0.5189, allocations: 0.6954 MB / 0.9538 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.5191, allocations: 41.75 kB / 0.9539 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5191, allocations: 0 / 0.9539 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.5192, allocations: 19.19 kB / 0.9539 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.5194, allocations: 10.56 kB / 0.9539 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.5197, allocations: 134.6 kB / 0.954 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.5198, allocations: 0.6768 MB / 0.9547 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.5198, allocations: 0 / 0.9547 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.5199, allocations: 8.812 kB / 0.9547 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5199, allocations: 0 / 0.9547 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.519/1.039, allocations: 1.068 MB / 0.9557 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.039, allocations: 204.5 kB / 0.9559 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.628, allocations: 7.875 kB / 0.9559 GB, free: 2.902 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