Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.008301/0.008301, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002234/0.002234, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003468/0.003468, allocations: 73.94 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3222, allocations: 162.2 MB / 1.242 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001852/0.3241, allocations: 0.7682 MB / 1.242 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.325, allocations: 0.8354 MB / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3251, allocations: 0 / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3251, allocations: 7.922 kB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.3252, allocations: 7.875 kB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3254, allocations: 23.97 kB / 1.243 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3255, allocations: 79.75 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3256, allocations: 29.39 kB / 1.243 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.3257, allocations: 23.92 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.3258, allocations: 43.81 kB / 1.243 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3258, allocations: 8 kB / 1.243 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.3258, allocations: 4 kB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.3259, allocations: 19.92 kB / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.3259, allocations: 31.86 kB / 1.243 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.326, allocations: 75.91 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.326, allocations: 4 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3261, allocations: 4 kB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3261, allocations: 3.938 kB / 1.243 GB, free: 7.391 MB / 0.9669 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.000569/0.3266, allocations: 379.1 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3267, allocations: 8.031 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.3267, allocations: 34.75 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.3268, allocations: 8.891 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3269, allocations: 180.3 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.327, allocations: 8.375 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.327, allocations: 4.375 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.3272, allocations: 78.2 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3272, allocations: 3.938 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3272, allocations: 4 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3273, allocations: 8 kB / 1.244 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3275, allocations: 67.81 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.328, allocations: 332.7 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3283, allocations: 86.47 kB / 1.245 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3284, allocations: 36.94 kB / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3285, allocations: 3.984 kB / 1.245 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3285, allocations: 38.56 kB / 1.245 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3285, allocations: 0 / 1.245 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004884/0.329, allocations: 129.6 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.329, allocations: 51.41 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3292, allocations: 121.8 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3292, allocations: 37.58 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3292, allocations: 92.14 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.3293, allocations: 23.78 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3293, allocations: 17.72 kB / 1.245 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3295, allocations: 322.8 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3296, allocations: 31.97 kB / 1.245 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3297, allocations: 23.98 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.33, allocations: 80.8 kB / 1.246 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.33, allocations: 0 / 1.246 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000296/0.3303, allocations: 97.61 kB / 1.246 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3303, allocations: 4 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3303, allocations: 3.984 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3304, allocations: 7.984 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3305, allocations: 15.92 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3305, allocations: 4 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.3306, allocations: 12.53 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3306, allocations: 3.938 kB / 1.246 GB, free: 4.84 MB / 0.9669 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 9.421e-05/0.3307, allocations: 118.3 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3308, allocations: 3.953 kB / 1.246 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3308, allocations: 12.38 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3308, allocations: 4 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3308, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3308, allocations: 3.984 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.331, allocations: 201.5 kB / 1.246 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.331, allocations: 4 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3312, allocations: 11.98 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3312, allocations: 0 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3312, allocations: 4 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3312, allocations: 0 / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3312, allocations: 0 / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3316, allocations: 215.3 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3316, allocations: 81.06 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3317, allocations: 4 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3318, allocations: 7.984 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.3318, allocations: 11.98 kB / 1.246 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3319, allocations: 4 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.3319, allocations: 91.27 kB / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 0 / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002375/0.3322, allocations: 16 kB / 1.246 GB, free: 3.965 MB / 0.9669 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.0007014/0.3329, allocations: 0.7357 MB / 1.247 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.3332, allocations: 79.88 kB / 1.247 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3332, allocations: 0 / 1.247 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3334, allocations: 43.91 kB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3336, allocations: 12.75 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3355, allocations: 1.44 MB / 1.249 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3358, allocations: 0.6924 MB / 1.249 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.3359, allocations: 11.92 kB / 1.249 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.336, allocations: 23.42 kB / 1.249 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.336, allocations: 0 / 1.249 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3584, allocations: 2.321 MB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.063, allocations: 11.88 kB / 1.252 GB, free: 14.56 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches