Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.0008855/0.0008855, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005542/0.005542, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.216/1.216, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.085/2.085, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002746, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5094, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0005706/0.51, allocations: 345.9 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.5106, allocations: 0.8029 MB / 0.9563 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.5106, allocations: 0 / 0.9563 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.5107, allocations: 3.938 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.5107, allocations: 0.875 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.727e-05/0.5108, allocations: 5.25 kB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.173e-05/0.5109, allocations: 19.98 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.5109, allocations: 5.344 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.511, allocations: 9.094 kB / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.511, allocations: 15.14 kB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.511, allocations: 0 / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.511, allocations: 1.156 kB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.5111, allocations: 3.984 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.5111, allocations: 32.05 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.001e-05/0.5111, allocations: 15.41 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5112, allocations: 1.156 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5112, allocations: 0 / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.5112, allocations: 4 kB / 0.9564 GB, free: 6.695 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.000229/0.5114, allocations: 327.3 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5114, allocations: 8.688 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.5115, allocations: 32.06 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.692e-05/0.5115, allocations: 2.438 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.706e-05/0.5115, allocations: 165.3 kB / 0.9569 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.5116, allocations: 384 / 0.9569 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.5116, allocations: 5.594 kB / 0.9569 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/0.5117, allocations: 45.66 kB / 0.957 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5117, allocations: 3.938 kB / 0.957 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.5117, allocations: 0 / 0.957 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.5117, allocations: 3.938 kB / 0.957 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.238e-05/0.5118, allocations: 16.02 kB / 0.957 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.659e-05/0.5119, allocations: 156.7 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.5119, allocations: 33.75 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.512, allocations: 11.39 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.512, allocations: 1.469 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.357e-06/0.512, allocations: 34.5 kB / 0.9572 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.512, allocations: 0 / 0.9572 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.5122, allocations: 71.02 kB / 0.9573 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.454e-05/0.5122, allocations: 52 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.5122, allocations: 104.7 kB / 0.9575 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.5123, allocations: 25.7 kB / 0.9575 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.5123, allocations: 85.02 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.5123, allocations: 1.094 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.5123, allocations: 13.84 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.5124, allocations: 312.1 kB / 0.9579 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.5124, allocations: 10.02 kB / 0.9579 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.5124, allocations: 10.84 kB / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/0.5125, allocations: 28.91 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5125, allocations: 1.094 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.756e-05/0.5126, allocations: 49.25 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.5126, allocations: 10.31 kB / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.5126, allocations: 0 / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.5126, allocations: 3.984 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.5127, allocations: 4.344 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.5127, allocations: 0 / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.5127, allocations: 14.5 kB / 0.958 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.5127, allocations: 1.594 kB / 0.958 GB, free: 4.996 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 (1): * Single equations (assignments): 1 * 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.589e-05/0.5128, allocations: 106.5 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.5128, allocations: 8.953 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.247e-05/0.5128, allocations: 8.094 kB / 0.9581 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5128, allocations: 1.312 kB / 0.9581 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5128, allocations: 3.938 kB / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.5128, allocations: 0 / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.433e-05/0.5129, allocations: 152.9 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5129, allocations: 0 / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.5129, allocations: 8.891 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5129, allocations: 3.938 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5129, allocations: 7.938 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5129, allocations: 4.953 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5129, allocations: 0 / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.513, allocations: 74.28 kB / 0.9584 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.5131, allocations: 78.23 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.5131, allocations: 4.844 kB / 0.9584 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.5131, allocations: 6.172 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.5131, allocations: 1.188 kB / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5131, allocations: 256 / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.5132, allocations: 84.16 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5132, allocations: 3.938 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001669/0.5133, allocations: 6.938 kB / 0.9585 GB, free: 4.387 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 (1): * Single equations (assignments): 1 * 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.0002265/0.5136, allocations: 0.6192 MB / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.5137, allocations: 22.2 kB / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5137, allocations: 0 / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.5137, allocations: 11.91 kB / 0.9592 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.5138, allocations: 5.109 kB / 0.9592 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.5141, allocations: 150.4 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.5142, allocations: 0.6722 MB / 0.96 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.5142, allocations: 5.406 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.5142, allocations: 11.42 kB / 0.96 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5142, allocations: 0 / 0.96 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.605/2.119, allocations: 0.8959 MB / 0.9609 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/2.12, allocations: 220.6 kB / 0.9611 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/4.775, allocations: 0 / 0.9611 GB, free: 2.211 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches