Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.238/2.238, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5181, allocations: 140.4 MB / 0.9493 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001715/0.5198, allocations: 0.7617 MB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.5205, allocations: 0.8059 MB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.5206, allocations: 0 / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.5206, allocations: 0 / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.5207, allocations: 5.312 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.044e-05/0.5207, allocations: 13.36 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.5208, allocations: 37.8 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.5209, allocations: 16.05 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.521, allocations: 14.81 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.521, allocations: 28.03 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.521, allocations: 12.05 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.521, allocations: 4.125 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.5211, allocations: 9.312 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.5211, allocations: 14.67 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.341e-05/0.5211, allocations: 36.12 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5212, allocations: 0 / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5212, allocations: 0 / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5212, allocations: 0 / 0.951 GB, free: 7.645 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003929/0.5216, allocations: 378.2 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5216, allocations: 9.625 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.5216, allocations: 30.75 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.5217, allocations: 3.688 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.006e-05/0.5217, allocations: 167 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5217, allocations: 1.75 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.5218, allocations: 1.75 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.522, allocations: 74.83 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.522, allocations: 9.25 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.522, allocations: 0 / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.522, allocations: 3.938 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.5223, allocations: 63.67 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.5225, allocations: 272 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.5227, allocations: 56.53 kB / 0.952 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.5228, allocations: 34.8 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5229, allocations: 1.375 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.5229, allocations: 42.48 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5229, allocations: 0 / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004594/0.5234, allocations: 130.4 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.5234, allocations: 51.41 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.5234, allocations: 116.3 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.5235, allocations: 25.7 kB / 0.9524 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/0.5235, allocations: 87.06 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.5235, allocations: 13.59 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.5235, allocations: 10.69 kB / 0.9525 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.5236, allocations: 317.6 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5237, allocations: 32.92 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.5239, allocations: 38.25 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.5241, allocations: 69.88 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5241, allocations: 0 / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000281/0.5244, allocations: 101.8 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5244, allocations: 8.219 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5244, allocations: 1.406 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5245, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5246, allocations: 19.12 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5246, allocations: 0 / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.5247, allocations: 10.23 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5247, allocations: 1.031 kB / 0.9531 GB, free: 5.629 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 (3): * Single equations (assignments): 3 * 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.988e-05/0.5247, allocations: 124.1 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.5248, allocations: 2.594 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.5248, allocations: 3.906 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5248, allocations: 1.25 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5248, allocations: 4 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5248, allocations: 5.297 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5249, allocations: 172.9 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5249, allocations: 0 / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.525, allocations: 18.61 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.525, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5251, allocations: 1.281 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5251, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5251, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.5254, allocations: 204.2 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.5254, allocations: 78.45 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.5254, allocations: 1.281 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.5255, allocations: 14.73 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.5256, allocations: 9.078 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.5256, allocations: 1.125 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.5256, allocations: 82.16 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5256, allocations: 0 / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002118/0.5258, allocations: 10.03 kB / 0.9538 GB, free: 4.902 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 (3): * Single equations (assignments): 3 * 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.0004811/0.5263, allocations: 0.7333 MB / 0.9545 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5266, allocations: 74.73 kB / 0.9545 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5266, allocations: 0 / 0.9545 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5268, allocations: 36.3 kB / 0.9546 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.527, allocations: 4.25 kB / 0.9546 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.5274, allocations: 168.7 kB / 0.9547 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.5275, allocations: 0.6833 MB / 0.9554 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.5275, allocations: 5.031 kB / 0.9554 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.5276, allocations: 13.81 kB / 0.9554 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5276, allocations: 4 kB / 0.9554 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6721/1.2, allocations: 1.413 MB / 0.9568 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/1.2, allocations: 213 kB / 0.957 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.266, allocations: 6.469 kB / 0.957 GB, free: 2.277 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches