Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001285, allocations: 192 kB / 16.25 MB, free: 6.645 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.48 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.08/2.08, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4982, allocations: 140.3 MB / 0.9493 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001463/0.4997, allocations: 0.7304 MB / 0.95 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.5002, allocations: 0.8017 MB / 0.9507 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.5002, allocations: 1.469 kB / 0.9508 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.5003, allocations: 0 / 0.9508 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.5003, allocations: 0 / 0.9508 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.5004, allocations: 6.75 kB / 0.9508 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.5005, allocations: 29.41 kB / 0.9508 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.5006, allocations: 6.75 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.5006, allocations: 10.73 kB / 0.9508 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.5007, allocations: 14.67 kB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.5007, allocations: 2.75 kB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.5007, allocations: 1.375 kB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.5007, allocations: 1.375 kB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.5007, allocations: 9.312 kB / 0.9508 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.262e-05/0.5008, allocations: 24.02 kB / 0.9509 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5008, allocations: 5.312 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5008, allocations: 0 / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.5008, allocations: 0 / 0.9509 GB, free: 8.031 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.0002847/0.5011, allocations: 343.6 kB / 0.9512 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.5011, allocations: 13.56 kB / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.817e-05/0.5011, allocations: 30.75 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.5012, allocations: 10.3 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.273e-05/0.5012, allocations: 165.7 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.5012, allocations: 1.75 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.5012, allocations: 384 / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5014, allocations: 54.61 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5014, allocations: 3.938 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.5014, allocations: 0 / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5014, allocations: 1.375 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.5016, allocations: 29.84 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.5017, allocations: 249.2 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.825e-05/0.5019, allocations: 42.88 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.5019, allocations: 18.47 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.502, allocations: 5.359 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.502, allocations: 34.56 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.502, allocations: 1.375 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002722/0.5023, allocations: 79.84 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.5023, allocations: 56.77 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.5023, allocations: 97.98 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.5023, allocations: 25.7 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.752e-05/0.5024, allocations: 85.52 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.5024, allocations: 9.219 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.5024, allocations: 16.58 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.912e-05/0.5024, allocations: 314.8 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.5025, allocations: 17.61 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.5026, allocations: 17.55 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.5027, allocations: 42.97 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5027, allocations: 9.531 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001502/0.5029, allocations: 64.27 kB / 0.9526 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.5029, allocations: 8.609 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5029, allocations: 0 / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.5029, allocations: 1.531 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.503, allocations: 9.469 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.503, allocations: 0 / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.503, allocations: 7.266 kB / 0.9526 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.503, allocations: 5.219 kB / 0.9526 GB, free: 6.168 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.536e-05/0.5031, allocations: 112.4 kB / 0.9528 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.5031, allocations: 7.844 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.5033, allocations: 79.2 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5033, allocations: 0 / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5033, allocations: 1.438 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.5033, allocations: 32 / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.5034, allocations: 162 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5034, allocations: 0 / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.5035, allocations: 11.08 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5035, allocations: 3.984 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.5035, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5035, allocations: 1.125 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5035, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.5036, allocations: 167.7 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.5037, allocations: 77.11 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.5037, allocations: 5.156 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.5038, allocations: 8.172 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.5038, allocations: 1.438 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5038, allocations: 0 / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.5038, allocations: 87.08 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5038, allocations: 0 / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001928/0.504, allocations: 6.75 kB / 0.9533 GB, free: 5.426 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.0003047/0.5043, allocations: 0.6917 MB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.5045, allocations: 42.62 kB / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5045, allocations: 0 / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.5046, allocations: 26.97 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.5048, allocations: 1.688 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.5051, allocations: 140.7 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.5052, allocations: 0.6806 MB / 0.9549 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.5052, allocations: 1.5 kB / 0.9549 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.5052, allocations: 13.06 kB / 0.9549 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.5052, allocations: 0 / 0.9549 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.253/2.759, allocations: 1.123 MB / 0.956 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/2.759, allocations: 199.9 kB / 0.9562 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/5.547, allocations: 2.812 kB / 0.9562 GB, free: 3.012 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches