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.001354/0.001354, allocations: 108 kB / 15.61 MB, free: 148 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.00143/0.00143, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.505/2.505, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6278, allocations: 140.4 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002025/0.6299, allocations: 0.6581 MB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000664/0.6306, allocations: 0.8152 MB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.6306, allocations: 1.375 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.6306, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.6307, allocations: 3.938 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.6308, allocations: 14.72 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.6309, allocations: 21.53 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.631, allocations: 6.734 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.631, allocations: 11.62 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.6311, allocations: 11.08 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.6311, allocations: 0.9375 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.6311, allocations: 3.188 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.6311, allocations: 4 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.6312, allocations: 10.34 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.978e-05/0.6312, allocations: 23.77 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6312, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6313, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6313, allocations: 1.188 kB / 0.9513 GB, free: 7.812 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.0003481/0.6316, allocations: 342.8 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6317, allocations: 13.75 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.157e-05/0.6317, allocations: 34.73 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.6317, allocations: 2.281 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.974e-05/0.6318, allocations: 165.8 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.6318, allocations: 2.219 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.6318, allocations: 384 / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.632, allocations: 50.48 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.632, allocations: 7.938 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.632, allocations: 0 / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.632, allocations: 1.438 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.6322, allocations: 34.36 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.6324, allocations: 243.9 kB / 0.9521 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6325, allocations: 43.03 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.6326, allocations: 27.08 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.6326, allocations: 1.469 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.6326, allocations: 34.56 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6326, allocations: 0 / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003187/0.633, allocations: 88.89 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.633, allocations: 51.41 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.633, allocations: 99.05 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.6331, allocations: 26.73 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.6331, allocations: 81.27 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.6331, allocations: 13.17 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.6331, allocations: 19.62 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.6332, allocations: 324 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.6333, allocations: 12.86 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.6333, allocations: 20.81 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.6335, allocations: 36.27 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6335, allocations: 3.938 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.6337, allocations: 72.75 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6337, allocations: 5.25 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6337, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.6338, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.6339, allocations: 9.984 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6339, allocations: 1.375 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.6339, allocations: 3.625 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.6339, allocations: 0 / 0.9531 GB, free: 5.949 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 4.602e-05/0.634, allocations: 120.9 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.634, allocations: 3.906 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.6342, allocations: 74.83 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6342, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6343, allocations: 1.031 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6343, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6344, allocations: 158 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6344, allocations: 5.031 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.6344, allocations: 14.02 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6344, allocations: 0 / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.6345, allocations: 5.641 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6345, allocations: 0 / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6345, allocations: 0 / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.6347, allocations: 163.4 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.6347, allocations: 78.98 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.6347, allocations: 3.938 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.6348, allocations: 11.05 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.6348, allocations: 1.156 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.6348, allocations: 1.062 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.6349, allocations: 82.92 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6349, allocations: 0 / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.6351, allocations: 3.938 kB / 0.9538 GB, free: 5.211 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.0004122/0.6355, allocations: 0.6992 MB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.6357, allocations: 45.36 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6357, allocations: 0 / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.6358, allocations: 19.2 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.6361, allocations: 8.25 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.6365, allocations: 139.1 kB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.6367, allocations: 0.6893 MB / 0.9553 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.6367, allocations: 1.125 kB / 0.9553 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.6367, allocations: 8.656 kB / 0.9553 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6367, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.6542, allocations: 1.236 MB / 0.9565 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.188, allocations: 7.203 kB / 0.9566 GB, free: 2.898 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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