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.001213/0.001213, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.276/2.276, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.542, allocations: 140.4 MB / 0.9493 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001566/0.5436, allocations: 0.6673 MB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.5442, allocations: 0.8037 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.5442, allocations: 0 / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.5442, allocations: 5.188 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.5443, allocations: 3.984 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.5444, allocations: 1.344 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.5445, allocations: 15.94 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.5445, allocations: 6.453 kB / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.5446, allocations: 15.78 kB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.5446, allocations: 15.69 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.5446, allocations: 1.25 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.5447, allocations: 1.344 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5447, allocations: 4 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.5447, allocations: 6.531 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.5448, allocations: 11.7 kB / 0.9508 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5448, allocations: 0 / 0.9508 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5448, allocations: 0 / 0.9508 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.5448, allocations: 1.25 kB / 0.9508 GB, free: 7.879 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.0002739/0.5451, allocations: 338.4 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5451, allocations: 9.312 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.103e-05/0.5451, allocations: 30.75 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.5452, allocations: 6.188 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.191e-05/0.5452, allocations: 165.7 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5452, allocations: 5.438 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.5452, allocations: 384 / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.5454, allocations: 35.44 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5454, allocations: 17.16 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.5454, allocations: 0 / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5454, allocations: 0 / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.5455, allocations: 15.86 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.357e-05/0.5456, allocations: 153.2 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.551e-05/0.5456, allocations: 23.88 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.5457, allocations: 9.422 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.5457, allocations: 5.625 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.5457, allocations: 34.56 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.5457, allocations: 3.984 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.5459, allocations: 62.14 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5459, allocations: 51.41 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.546, allocations: 99.88 kB / 0.9518 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-06/0.546, allocations: 29.83 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.642e-05/0.546, allocations: 85.48 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.546, allocations: 1.281 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.546, allocations: 10.69 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.5461, allocations: 315.9 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.5461, allocations: 8.109 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.5462, allocations: 4.406 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.198e-05/0.5462, allocations: 31.81 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5462, allocations: 0 / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.612e-05/0.5463, allocations: 46.25 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5463, allocations: 8.562 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5463, allocations: 0 / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5464, allocations: 0 / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.5464, allocations: 7.453 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.5464, allocations: 3.984 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.5465, allocations: 5.531 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5465, allocations: 5.875 kB / 0.9523 GB, free: 6.168 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.765e-05/0.5465, allocations: 111.4 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.5465, allocations: 3.938 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.5465, allocations: 12.36 kB / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.5466, allocations: 0 / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5466, allocations: 1.062 kB / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.5466, allocations: 0 / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.686e-05/0.5466, allocations: 157.4 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5466, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.5467, allocations: 14.75 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5467, allocations: 5.156 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5467, allocations: 0 / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5467, allocations: 1.062 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5467, allocations: 7.922 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.353e-05/0.5468, allocations: 66.66 kB / 0.9527 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.5468, allocations: 77.11 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.5468, allocations: 9.125 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.802e-05/0.5469, allocations: 2.781 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.5469, allocations: 3.984 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5469, allocations: 1.5 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.976e-05/0.5469, allocations: 81.97 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5469, allocations: 1.406 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001719/0.5471, allocations: 1.312 kB / 0.9529 GB, free: 5.559 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.000247/0.5473, allocations: 0.6176 MB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.5475, allocations: 17.95 kB / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5475, allocations: 0 / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.5475, allocations: 6.125 kB / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.5476, allocations: 11.72 kB / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.5479, allocations: 135.5 kB / 0.9536 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.548, allocations: 0.6754 MB / 0.9543 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.548, allocations: 1.406 kB / 0.9543 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.5481, allocations: 11.44 kB / 0.9543 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5481, allocations: 1.344 kB / 0.9543 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9796/1.528, allocations: 0.9964 MB / 0.9553 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.528, allocations: 221.7 kB / 0.9555 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/3.624, allocations: 2.391 kB / 0.9555 GB, free: 3.305 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