Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.0007102/0.0007104, allocations: 97.95 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.004561/0.004561, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.114/2.114, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5416, allocations: 142.4 MB / 0.9552 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0005609/0.5422, allocations: 318.2 kB / 0.9555 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.214e-05/0.5423, allocations: 5.375 kB / 0.9555 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.5423, allocations: 0 / 0.9555 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.5423, allocations: 4 kB / 0.9555 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.261e-05/0.5423, allocations: 0 / 0.9555 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.343e-05/0.5424, allocations: 5.469 kB / 0.9555 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.405e-05/0.5424, allocations: 1.312 kB / 0.9555 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.5425, allocations: 5.438 kB / 0.9555 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.5425, allocations: 3.938 kB / 0.9555 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.296e-05/0.5425, allocations: 0 / 0.9555 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.5425, allocations: 0 / 0.9555 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-06/0.5425, allocations: 1.469 kB / 0.9555 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.5425, allocations: 0 / 0.9555 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.5426, allocations: 25.7 kB / 0.9555 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.927e-05/0.5426, allocations: 9.453 kB / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5426, allocations: 0 / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5426, allocations: 0 / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.5426, allocations: 1.219 kB / 0.9556 GB, free: 7.598 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001553/0.5428, allocations: 308.8 kB / 0.9559 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5428, allocations: 9.188 kB / 0.9559 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.83e-05/0.5428, allocations: 32.12 kB / 0.9559 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.648e-05/0.5429, allocations: 0.9375 kB / 0.9559 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.523e-05/0.5429, allocations: 173.5 kB / 0.9561 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.5429, allocations: 4.375 kB / 0.9561 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.5429, allocations: 1.969 kB / 0.9561 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.626e-05/0.543, allocations: 31.55 kB / 0.9561 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.543, allocations: 3.938 kB / 0.9561 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.543, allocations: 0 / 0.9561 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.543, allocations: 0 / 0.9561 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.137e-05/0.5431, allocations: 1.5 kB / 0.9561 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.5432, allocations: 387.6 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.5433, allocations: 174.5 kB / 0.9566 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.5433, allocations: 88.12 kB / 0.9567 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.5433, allocations: 75.28 kB / 0.9568 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.5433, allocations: 111.1 kB / 0.9569 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.5433, allocations: 4 kB / 0.9569 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.337e-05/0.5434, allocations: 27.02 kB / 0.9569 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.5434, allocations: 130.6 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.5435, allocations: 101.8 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-06/0.5435, allocations: 25.7 kB / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.5435, allocations: 80.14 kB / 0.9572 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.5435, allocations: 1.625 kB / 0.9572 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.5435, allocations: 9.719 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.5436, allocations: 315 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-06/0.5436, allocations: 0 / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.5436, allocations: 1.344 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.879e-06/0.5436, allocations: 75.28 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.5436, allocations: 79.22 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.439e-05/0.5436, allocations: 29.17 kB / 0.9577 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5437, allocations: 84 kB / 0.9578 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5437, allocations: 84.42 kB / 0.9579 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.5437, allocations: 154.6 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-06/0.5437, allocations: 84.5 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.5437, allocations: 151.5 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.5438, allocations: 80.34 kB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.5438, allocations: 80.59 kB / 0.9584 GB, free: 4.461 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 (0): * Single equations (assignments): 0 * 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.189e-05/0.5439, allocations: 265.8 kB / 0.9587 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.5439, allocations: 106.4 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.5439, allocations: 119.8 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5439, allocations: 179.1 kB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.544, allocations: 177.4 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.544, allocations: 185.2 kB / 0.9594 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5441, allocations: 407.6 kB / 0.9598 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5441, allocations: 104.9 kB / 0.9599 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.5441, allocations: 102.4 kB / 0.96 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/0.5442, allocations: 181.7 kB / 0.9602 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.5442, allocations: 180.2 kB / 0.9603 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.5442, allocations: 181.6 kB / 0.9605 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-05/0.5442, allocations: 181.4 kB / 0.9607 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.052e-05/0.5443, allocations: 311.3 kB / 0.961 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.5443, allocations: 183.3 kB / 0.9612 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.5443, allocations: 185.6 kB / 0.9613 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.5444, allocations: 110.1 kB / 0.9614 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.5444, allocations: 181.6 kB / 0.9616 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5444, allocations: 106.1 kB / 0.9617 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.5445, allocations: 76.5 kB / 0.9618 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5445, allocations: 1.156 kB / 0.9618 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002472/0.5447, allocations: 0 / 0.9618 GB, free: 0.8125 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 (0): * Single equations (assignments): 0 * 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.000198/0.5449, allocations: 0.8108 MB / 0.9626 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.412e-05/0.5449, allocations: 1.281 kB / 0.9626 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.545, allocations: 0 / 0.9626 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.545, allocations: 3.938 kB / 0.9626 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.5453, allocations: 0.5251 MB / 0.9631 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.5461, allocations: 1.524 MB / 0.9646 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.5463, allocations: 0.6731 MB / 0.9652 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.052e-06/0.5463, allocations: 1.406 kB / 0.9652 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.5463, allocations: 15.5 kB / 0.9653 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5463, allocations: 0 / 0.9653 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5254/1.072, allocations: 0.7386 MB / 0.966 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.072, allocations: 212.8 kB / 0.9662 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.527, allocations: 3.938 kB / 0.9662 GB, free: 12.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches