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.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.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.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.177/2.177, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5304, allocations: 140.4 MB / 0.9497 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001671/0.5321, allocations: 0.6091 MB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005904/0.5327, allocations: 0.8118 MB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.5328, allocations: 3.938 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.5328, allocations: 0 / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.5328, allocations: 9.188 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.533, allocations: 1.5 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.533, allocations: 23.02 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.5331, allocations: 7.047 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.5331, allocations: 4.156 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.5332, allocations: 14.39 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.5332, allocations: 1.625 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.5332, allocations: 1.281 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.5332, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.5332, allocations: 10.94 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.402e-05/0.5333, allocations: 18.95 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5333, allocations: 1.562 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5333, allocations: 0 / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5333, allocations: 0 / 0.9512 GB, free: 7.855 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.0002506/0.5336, allocations: 333.7 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5336, allocations: 10.34 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.975e-05/0.5336, allocations: 30.75 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.5337, allocations: 2.5 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.5337, allocations: 169.9 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.5338, allocations: 4.312 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.5338, allocations: 1.688 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.5339, allocations: 36.03 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5339, allocations: 3.938 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5339, allocations: 0 / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5339, allocations: 0 / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.534, allocations: 16.89 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.314e-05/0.5341, allocations: 156.4 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.5341, allocations: 27.81 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.5342, allocations: 13.08 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.5342, allocations: 1.25 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.04e-05/0.5342, allocations: 34.5 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.5342, allocations: 1.438 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000165/0.5344, allocations: 64.58 kB / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.5344, allocations: 51.41 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.5344, allocations: 104.7 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.5345, allocations: 25.7 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.5345, allocations: 81.52 kB / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.5345, allocations: 0 / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.5345, allocations: 16.47 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.5346, allocations: 319 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.5346, allocations: 5.5 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.5346, allocations: 4.125 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.5347, allocations: 22.47 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5347, allocations: 0 / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.988e-05/0.5348, allocations: 57.89 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5348, allocations: 13.53 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5348, allocations: 0 / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5348, allocations: 3.984 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.5349, allocations: 2.75 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5349, allocations: 1.375 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.5349, allocations: 5.562 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.535, allocations: 4 kB / 0.9528 GB, free: 6.148 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.762e-05/0.535, allocations: 112.6 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.535, allocations: 5.312 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.535, allocations: 11.06 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.535, allocations: 1.375 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.535, allocations: 0 / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.5351, allocations: 0 / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.061e-05/0.5351, allocations: 152.4 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5351, allocations: 1.375 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.449e-05/0.5352, allocations: 6.734 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5352, allocations: 3.938 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.5352, allocations: 1.375 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5352, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5352, allocations: 4 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.5353, allocations: 74.81 kB / 0.9531 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.5353, allocations: 77.11 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5353, allocations: 5.312 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.701e-05/0.5353, allocations: 5.359 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.5354, allocations: 5.375 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.5354, allocations: 0 / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.5354, allocations: 83.44 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5354, allocations: 3.938 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001691/0.5356, allocations: 2.906 kB / 0.9533 GB, free: 5.543 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.0002471/0.5358, allocations: 0.6169 MB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.5359, allocations: 18.05 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.536, allocations: 0 / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.536, allocations: 13.77 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.5361, allocations: 1.438 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.5364, allocations: 134.5 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.5365, allocations: 0.6792 MB / 0.9547 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.5365, allocations: 5.109 kB / 0.9547 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.5366, allocations: 7.438 kB / 0.9547 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5366, allocations: 1.438 kB / 0.9547 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/0.6425, allocations: 1.1 MB / 0.9558 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.815, allocations: 7.781 kB / 0.9558 GB, free: 3.414 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