Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.001682/0.001682, allocations: 108 kB / 15.6 MB, free: 132 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.001577/0.001577, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.361/2.361, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5742, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001666/0.5759, allocations: 0.6574 MB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.5765, allocations: 0.8121 MB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.5766, allocations: 0 / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.5766, allocations: 1.844 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.5767, allocations: 7.875 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.5768, allocations: 9.672 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.5769, allocations: 29.69 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.577, allocations: 6.531 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.577, allocations: 3.344 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.5771, allocations: 14.42 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.5771, allocations: 2.562 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.5771, allocations: 2.5 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.5771, allocations: 4 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.5771, allocations: 10.89 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.089e-05/0.5772, allocations: 27.61 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5772, allocations: 0 / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5772, allocations: 4 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.5772, allocations: 0 / 0.9513 GB, free: 7.926 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.0003437/0.5776, allocations: 339.1 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5776, allocations: 10.44 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.5776, allocations: 34.69 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.5777, allocations: 2.375 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.5777, allocations: 165.8 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5778, allocations: 2.062 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.5778, allocations: 4.375 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.5779, allocations: 50.05 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5779, allocations: 3.938 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.578, allocations: 0 / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.578, allocations: 0.5625 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.5781, allocations: 34.67 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.5784, allocations: 249 kB / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5785, allocations: 43.14 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.5786, allocations: 22.66 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.5786, allocations: 5.391 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.5786, allocations: 30.56 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5786, allocations: 5.406 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.5789, allocations: 83.17 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.579, allocations: 52.59 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.081e-05/0.579, allocations: 98.75 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.579, allocations: 25.7 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.5791, allocations: 86.39 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.5791, allocations: 11.97 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.5791, allocations: 12.03 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.5792, allocations: 319.7 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.5793, allocations: 21.84 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.5793, allocations: 21.77 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5795, allocations: 42.48 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5795, allocations: 5.219 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.5797, allocations: 67.44 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5797, allocations: 5.125 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5797, allocations: 1.344 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5797, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.5798, allocations: 10.2 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5798, allocations: 0 / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.5799, allocations: 8 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5799, allocations: 1.031 kB / 0.9531 GB, free: 6.062 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 5.226e-05/0.58, allocations: 119.1 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.58, allocations: 5.125 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.5802, allocations: 70.81 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5802, allocations: 32 / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5803, allocations: 5.406 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5803, allocations: 0 / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.5804, allocations: 157.6 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5804, allocations: 3.984 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.5804, allocations: 6.125 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5805, allocations: 1.031 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.5805, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5805, allocations: 1.625 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5805, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5807, allocations: 166.3 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.5807, allocations: 82.72 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5807, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.5808, allocations: 4.281 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5809, allocations: 13.33 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.5809, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.5809, allocations: 83.5 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5809, allocations: 0 / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.5811, allocations: 3.094 kB / 0.9538 GB, free: 5.328 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.0004283/0.5816, allocations: 0.6955 MB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.5818, allocations: 41.83 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5818, allocations: 3.938 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.5819, allocations: 19.05 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.5822, allocations: 2.969 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.5826, allocations: 141.1 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.5827, allocations: 0.6833 MB / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.5828, allocations: 1.406 kB / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5828, allocations: 12.88 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5828, allocations: 0 / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5996, allocations: 1.246 MB / 0.9566 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.272, allocations: 9.422 kB / 0.9566 GB, free: 3.016 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches