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.001164/0.001164, 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.001255/0.001255, allocations: 196.6 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.402/2.402, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6512, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001655/0.6529, allocations: 0.601 MB / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000647/0.6535, allocations: 0.8114 MB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.6536, allocations: 0 / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.6536, allocations: 1.281 kB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.6536, allocations: 3.938 kB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.6538, allocations: 9.25 kB / 0.9511 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.6538, allocations: 21.02 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.6539, allocations: 1.562 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.654, allocations: 12.23 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.654, allocations: 14.36 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.654, allocations: 1.25 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.6541, allocations: 1.438 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.6541, allocations: 1.562 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.6541, allocations: 5.438 kB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.178e-05/0.6542, allocations: 20.06 kB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6542, allocations: 0 / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6542, allocations: 0 / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6542, allocations: 0 / 0.9512 GB, free: 8.035 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.0002812/0.6545, allocations: 330.8 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6545, allocations: 9.812 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.335e-05/0.6545, allocations: 34.73 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.6546, allocations: 2.094 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.532e-05/0.6546, allocations: 170.4 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.6547, allocations: 8.312 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.6547, allocations: 1.375 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.6548, allocations: 39.45 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6548, allocations: 3.938 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.6548, allocations: 5.391 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6548, allocations: 0 / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.6549, allocations: 8.469 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.655, allocations: 152.3 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.655, allocations: 31.5 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.6551, allocations: 13.3 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.6551, allocations: 6.109 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.6551, allocations: 38.48 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.6551, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000177/0.6553, allocations: 56.84 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.6553, allocations: 52.66 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.6554, allocations: 103.8 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.6554, allocations: 25.7 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.6554, allocations: 81.52 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.6554, allocations: 1.344 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.6555, allocations: 14.84 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.6555, allocations: 316 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.6555, allocations: 7.688 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.6556, allocations: 5.406 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.6556, allocations: 25.88 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6557, allocations: 0 / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.292e-05/0.6558, allocations: 54.8 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6558, allocations: 9.344 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6558, allocations: 2.312 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6558, allocations: 4 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.6559, allocations: 2.094 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6559, allocations: 0 / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.6559, allocations: 5.938 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.6559, allocations: 3.984 kB / 0.9528 GB, free: 6.328 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.991e-05/0.656, allocations: 107.8 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.656, allocations: 5.5 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.656, allocations: 12.41 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.656, allocations: 4 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.656, allocations: 5.312 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.656, allocations: 3.938 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.895e-05/0.6561, allocations: 148.3 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6561, allocations: 1.312 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.6561, allocations: 6.484 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6561, allocations: 3.938 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.6561, allocations: 1 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6561, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6561, allocations: 1.156 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.905e-05/0.6562, allocations: 73.34 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.6563, allocations: 82.3 kB / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.6563, allocations: 9.203 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.6563, allocations: 1.156 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.6563, allocations: 5.25 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.6564, allocations: 0 / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.6564, allocations: 84.28 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6564, allocations: 0 / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001888/0.6566, allocations: 2.75 kB / 0.9533 GB, free: 5.723 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.0002537/0.6568, allocations: 0.616 MB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.657, allocations: 18.11 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.657, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.657, allocations: 18.45 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.6571, allocations: 1.281 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.6574, allocations: 130.7 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.445e-05/0.6575, allocations: 0.6847 MB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.6576, allocations: 3.984 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.6576, allocations: 8.375 kB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6576, allocations: 0 / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.6732, allocations: 1.096 MB / 0.9558 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.625, allocations: 9.078 kB / 0.9558 GB, free: 3.59 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 & 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