Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001323/0.001323, allocations: 195.8 kB / 16.14 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.138/2.138, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.84 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5836, allocations: 140.3 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001827/0.5854, allocations: 0.9528 MB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.5863, allocations: 0.8884 MB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.5864, allocations: 2.906 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.5864, allocations: 11.86 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.5865, allocations: 5.344 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.5867, allocations: 47.83 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.5868, allocations: 137 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.587, allocations: 53.3 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.587, allocations: 48.03 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.5871, allocations: 58.75 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.5871, allocations: 8.25 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.5871, allocations: 8.406 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.5872, allocations: 29.06 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.5872, allocations: 58.78 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.5873, allocations: 124.4 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5873, allocations: 1.281 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5873, allocations: 3.938 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.257e-06/0.5873, allocations: 0 / 0.9514 GB, free: 7.176 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004961/0.5878, allocations: 450.7 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.5879, allocations: 9.375 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.5879, allocations: 47.98 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.588, allocations: 16.31 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5881, allocations: 210.1 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5881, allocations: 10.41 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.5882, allocations: 11.34 kB / 0.9522 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.5884, allocations: 147.7 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5885, allocations: 3.938 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.5885, allocations: 6.75 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5885, allocations: 6.734 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.5888, allocations: 129.2 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.5894, allocations: 496.5 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.5896, allocations: 88.56 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.5897, allocations: 42.08 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5897, allocations: 5.344 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.5897, allocations: 41.06 kB / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.5897, allocations: 0 / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004236/0.5902, allocations: 161.8 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.5902, allocations: 53.25 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5903, allocations: 187.5 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.5903, allocations: 29.7 kB / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.5904, allocations: 118.6 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.5904, allocations: 32.14 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.5905, allocations: 25.22 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.5905, allocations: 323 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.5906, allocations: 41.56 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.5907, allocations: 46.44 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.591, allocations: 99.88 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.591, allocations: 3.938 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002774/0.5913, allocations: 141.4 kB / 0.9543 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5913, allocations: 11.22 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5913, allocations: 0 / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5913, allocations: 5.453 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5915, allocations: 23.92 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5915, allocations: 4 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.5916, allocations: 18.59 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5916, allocations: 7.344 kB / 0.9543 GB, free: 4.672 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 (13): * Single equations (assignments): 13 * 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 6.268e-05/0.5917, allocations: 126 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5917, allocations: 14.75 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.592, allocations: 140.6 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.592, allocations: 5.438 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.592, allocations: 4 kB / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.592, allocations: 0 / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.5925, allocations: 450.1 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5925, allocations: 1.969 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.5926, allocations: 29.17 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5926, allocations: 1.375 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5926, allocations: 5.406 kB / 0.9551 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5927, allocations: 0.9062 kB / 0.9551 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5927, allocations: 5.438 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.593, allocations: 246.4 kB / 0.9553 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.593, allocations: 89.12 kB / 0.9554 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.593, allocations: 6.875 kB / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5932, allocations: 16.05 kB / 0.9554 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5932, allocations: 12.11 kB / 0.9555 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5932, allocations: 7.688 kB / 0.9555 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.5933, allocations: 152.1 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5933, allocations: 0 / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002548/0.5936, allocations: 27.81 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0004709/0.5941, allocations: 0.7823 MB / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5943, allocations: 99.89 kB / 0.9565 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5943, allocations: 0 / 0.9565 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5945, allocations: 44.92 kB / 0.9565 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.5948, allocations: 30.77 kB / 0.9566 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.5965, allocations: 1.905 MB / 0.9584 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.5967, allocations: 0.7119 MB / 0.9591 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.5967, allocations: 14.05 kB / 0.9591 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.5968, allocations: 42.52 kB / 0.9592 GB, free: 364 kB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.5968, allocations: 0 / 0.9592 GB, free: 364 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.6089, allocations: 2.541 MB / 0.9617 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.609, allocations: 212.6 kB / 0.9619 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.215, allocations: 0 / 0.9619 GB, free: 14.87 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches