Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4904, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001636/0.492, allocations: 0.6765 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.4928, allocations: 0.7962 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.4928, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.4928, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.4929, allocations: 7.938 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.493, allocations: 7.984 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.4931, allocations: 23.92 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.4931, allocations: 12 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.4932, allocations: 11.94 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.4932, allocations: 11.98 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4932, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.4933, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.4933, allocations: 11.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.4933, allocations: 3.984 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.4934, allocations: 23.91 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4934, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4934, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.4934, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 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.0003361/0.4937, allocations: 337.7 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.4938, allocations: 8.031 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.4938, allocations: 38.75 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.699e-05/0.4938, allocations: 0.9375 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.342e-05/0.4939, allocations: 172.2 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.4939, allocations: 384 / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.4939, allocations: 4.375 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4941, allocations: 50.23 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.4941, allocations: 7.938 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.4941, allocations: 3.938 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.4941, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.4943, allocations: 35.95 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.4945, allocations: 241 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4947, allocations: 54.36 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.4947, allocations: 20.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4948, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4948, allocations: 34.56 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4948, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003077/0.4951, allocations: 81.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.4951, allocations: 59.41 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.4952, allocations: 97.84 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4952, allocations: 25.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.4952, allocations: 84.14 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4953, allocations: 7.844 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.4953, allocations: 13.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.4954, allocations: 323 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.4955, allocations: 19.97 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.4955, allocations: 15.98 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4957, allocations: 36.83 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4957, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.4959, allocations: 69.66 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4959, allocations: 9.562 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4959, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.4959, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.496, allocations: 7.984 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.496, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.496, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4961, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 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 5.376e-05/0.4961, allocations: 119.3 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4961, allocations: 7.906 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.4963, allocations: 68.78 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4964, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4964, allocations: 7.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4964, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.4965, allocations: 161.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4965, allocations: 8.016 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.4966, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4966, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4966, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4966, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4966, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4968, allocations: 171.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.4968, allocations: 85.08 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4969, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.4969, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.497, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.497, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.497, allocations: 83.28 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.233e-06/0.497, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001988/0.4972, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 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.0004199/0.4977, allocations: 0.6967 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.4978, allocations: 43.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4979, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.4979, allocations: 23.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4982, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.4985, allocations: 135.3 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.4987, allocations: 0.6808 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.4987, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.4987, allocations: 11.44 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4987, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.016/2.514, allocations: 1.237 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/19.92, allocations: 16.48 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches