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.004744/0.004744, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001235/0.001235, allocations: 193 kB / 16.67 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.255/2.255, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001192, allocations: 71.78 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2185, allocations: 140.4 MB / 1.088 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001554/0.2201, allocations: 0.6111 MB / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.221, allocations: 0.8043 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.221, allocations: 4 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.221, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.2211, allocations: 7.922 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.2212, allocations: 7.984 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.2213, allocations: 19.92 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.2213, allocations: 8 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.2214, allocations: 11.88 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.2215, allocations: 11.98 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2215, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.2215, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.2215, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.2215, allocations: 11.94 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.469e-05/0.2216, allocations: 19.89 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2216, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2216, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.2216, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 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.0003442/0.222, allocations: 334.3 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.222, allocations: 12.03 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2221, allocations: 30.75 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.2221, allocations: 0.9375 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2222, allocations: 168.3 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2222, allocations: 8.359 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.2222, allocations: 384 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2223, allocations: 42.2 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2224, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2224, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2224, allocations: 3.984 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.2224, allocations: 8 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2226, allocations: 153.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.242e-05/0.2227, allocations: 26.59 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.2227, allocations: 16.92 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2227, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2228, allocations: 38.48 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2228, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.00019/0.223, allocations: 53.62 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.223, allocations: 51.41 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.2231, allocations: 105.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2231, allocations: 29.83 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.2231, allocations: 80.14 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2231, allocations: 3.906 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2232, allocations: 17.72 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.2233, allocations: 314.8 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.2233, allocations: 7.938 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.2233, allocations: 8 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.2234, allocations: 24.84 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2234, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.2236, allocations: 53.67 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2236, allocations: 7.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2236, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2236, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.2237, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2237, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.2237, allocations: 4.031 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2237, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 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 5.609e-05/0.2238, allocations: 113.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.2238, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.2238, allocations: 7.125 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2238, allocations: 4.25 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2238, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2239, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.2239, allocations: 153.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2239, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.224, allocations: 7.922 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.224, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.224, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.224, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.224, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2241, allocations: 73.03 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.2242, allocations: 81.14 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2242, allocations: 7.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.2242, allocations: 3.984 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.2243, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2243, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.2243, allocations: 79.28 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2243, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001835/0.2245, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 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.0003571/0.2249, allocations: 0.6183 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.225, allocations: 15.98 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.225, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.225, allocations: 16.08 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2252, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.2255, allocations: 140.5 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2257, allocations: 0.6729 MB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.2257, allocations: 7.969 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.2258, allocations: 11.44 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2258, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.2405, allocations: 1.116 MB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.439, allocations: 11.94 kB / 1.094 GB, free: 11.43 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 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.csv","/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