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.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.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.0008775/0.0008775, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005362/0.005362, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.133/2.133, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5244, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0006156/0.525, allocations: 398 kB / 0.9556 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005604/0.5256, allocations: 0.8066 MB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.5256, allocations: 1.062 kB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.5256, allocations: 4 kB / 0.9564 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.5257, allocations: 5.188 kB / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.5258, allocations: 5.125 kB / 0.9564 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.5258, allocations: 21.77 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.5259, allocations: 6.172 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.526, allocations: 15.2 kB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.526, allocations: 7.156 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.526, allocations: 1.156 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-06/0.526, allocations: 1.094 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.5261, allocations: 4 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.5261, allocations: 39.78 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.947e-05/0.5261, allocations: 16.47 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5261, allocations: 4 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5261, allocations: 0 / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.5262, allocations: 1.062 kB / 0.9565 GB, free: 6.664 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.0002806/0.5264, allocations: 337.7 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5265, allocations: 13.28 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.943e-05/0.5265, allocations: 30.75 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.655e-05/0.5265, allocations: 3.062 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.557e-05/0.5266, allocations: 165.2 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.5266, allocations: 5.562 kB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.5266, allocations: 5.25 kB / 0.957 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5268, allocations: 58.31 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5268, allocations: 7.938 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.5268, allocations: 9.031 kB / 0.9571 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5268, allocations: 0 / 0.9571 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.527, allocations: 41.25 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.5272, allocations: 256.3 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5273, allocations: 44.47 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.5274, allocations: 22.69 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5274, allocations: 5.438 kB / 0.9574 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.5274, allocations: 34.5 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5274, allocations: 1.281 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003065/0.5277, allocations: 98.7 kB / 0.9576 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.5278, allocations: 52.62 kB / 0.9576 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/0.5278, allocations: 102.6 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.5278, allocations: 25.7 kB / 0.9577 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.5278, allocations: 81.27 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5279, allocations: 13.25 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.5279, allocations: 9.719 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.5279, allocations: 320 kB / 0.9581 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.528, allocations: 25.7 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.5281, allocations: 22.67 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.5282, allocations: 49.73 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5282, allocations: 3.938 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.5284, allocations: 77.75 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.5284, allocations: 7.344 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.5284, allocations: 0 / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.5284, allocations: 0 / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.5285, allocations: 13.3 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5285, allocations: 0 / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.5286, allocations: 13.95 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5286, allocations: 5.969 kB / 0.9584 GB, free: 4.789 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 3.842e-05/0.5286, allocations: 111.8 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.5287, allocations: 3.938 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.5289, allocations: 84.91 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5289, allocations: 0 / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5289, allocations: 0 / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5289, allocations: 1.406 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.405e-05/0.529, allocations: 165.9 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.529, allocations: 0 / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.529, allocations: 12.02 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5291, allocations: 0 / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.5291, allocations: 4.938 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5291, allocations: 0 / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5291, allocations: 5.75 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.5293, allocations: 176.2 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.5293, allocations: 78.27 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-06/0.5293, allocations: 4 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.5294, allocations: 10.77 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.5294, allocations: 1.625 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5294, allocations: 0 / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.5294, allocations: 82.48 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5294, allocations: 1.5 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001948/0.5296, allocations: 2.719 kB / 0.9591 GB, free: 4.055 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.0003371/0.53, allocations: 0.7127 MB / 0.9598 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.5302, allocations: 46.44 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5302, allocations: 9.719 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.5303, allocations: 23.48 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5305, allocations: 6.609 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.5308, allocations: 134.6 kB / 0.96 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.5309, allocations: 0.6772 MB / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.5309, allocations: 1.375 kB / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.5309, allocations: 7.438 kB / 0.9606 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.5309, allocations: 8 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.774/4.305, allocations: 1.008 MB / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/4.305, allocations: 208.3 kB / 0.9618 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/6.331, allocations: 3.234 kB / 0.9618 GB, free: 1.727 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