Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.001151/0.001151, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001176/0.001176, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.154/2.154, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 75.88 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5071, allocations: 140.3 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001528/0.5087, allocations: 0.7225 MB / 0.9498 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.5094, allocations: 0.8128 MB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.5094, allocations: 0 / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.5094, allocations: 0 / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.5095, allocations: 5.312 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.5096, allocations: 5.375 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.5096, allocations: 17.61 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.5097, allocations: 6.75 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.5098, allocations: 18.59 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.5098, allocations: 8.125 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.5098, allocations: 5.375 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-06/0.5098, allocations: 1.375 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.5098, allocations: 7.922 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.5099, allocations: 6.75 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.059e-05/0.5099, allocations: 19.12 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5099, allocations: 0 / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.5099, allocations: 0.9688 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.5099, allocations: 3.938 kB / 0.9507 GB, free: 7.871 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002818/0.5102, allocations: 339 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.5103, allocations: 14.16 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.047e-05/0.5103, allocations: 34.73 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.839e-05/0.5103, allocations: 2.562 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.031e-05/0.5104, allocations: 169.6 kB / 0.9512 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.5104, allocations: 4.375 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.5104, allocations: 1.625 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5105, allocations: 50.08 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5106, allocations: 3.938 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.5106, allocations: 1.438 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.5106, allocations: 7.938 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5107, allocations: 30.88 kB / 0.9513 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.5109, allocations: 244.8 kB / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.511, allocations: 38.75 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.5111, allocations: 26.5 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.5111, allocations: 5.312 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.089e-05/0.5111, allocations: 38.48 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5111, allocations: 1.562 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002731/0.5114, allocations: 76.03 kB / 0.9517 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.5114, allocations: 55.41 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.198e-05/0.5115, allocations: 103.5 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.5115, allocations: 25.7 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.5115, allocations: 85.47 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.5115, allocations: 9.062 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.5116, allocations: 20.2 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.5116, allocations: 312.1 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.5117, allocations: 16.98 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.5118, allocations: 16.73 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5119, allocations: 44.06 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5119, allocations: 3.938 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001513/0.512, allocations: 64.3 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5121, allocations: 7.5 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.5121, allocations: 0 / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.5121, allocations: 3.984 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.5122, allocations: 6.844 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.5122, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.5122, allocations: 8.172 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5122, allocations: 0 / 0.9525 GB, free: 6.012 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 (2): * Single equations (assignments): 2 * 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.646e-05/0.5123, allocations: 120.9 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.5123, allocations: 3.906 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.5125, allocations: 70.62 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5125, allocations: 4.625 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5125, allocations: 3.984 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.5125, allocations: 1.469 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.5126, allocations: 157 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5126, allocations: 1.375 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.5127, allocations: 17.48 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5127, allocations: 0 / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5127, allocations: 1.531 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5127, allocations: 0 / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5127, allocations: 0 / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.5129, allocations: 171.3 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.5129, allocations: 82.23 kB / 0.9531 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.5129, allocations: 5.375 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.513, allocations: 10.8 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.513, allocations: 1.25 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.513, allocations: 0.9062 kB / 0.9531 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.513, allocations: 78.88 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.513, allocations: 0 / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001978/0.5132, allocations: 8.047 kB / 0.9532 GB, free: 5.262 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 (2): * Single equations (assignments): 2 * 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.000321/0.5136, allocations: 0.6992 MB / 0.9538 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.5137, allocations: 32.31 kB / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5137, allocations: 5.156 kB / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.5138, allocations: 23 kB / 0.9539 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5141, allocations: 8.641 kB / 0.9539 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.5144, allocations: 129.4 kB / 0.954 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.143e-05/0.5144, allocations: 0.6772 MB / 0.9547 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.5145, allocations: 5.469 kB / 0.9547 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.5145, allocations: 12.84 kB / 0.9547 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/0.5145, allocations: 0 / 0.9547 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9658/1.48, allocations: 1.069 MB / 0.9558 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.48, allocations: 206.6 kB / 0.956 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/3.435, allocations: 4.844 kB / 0.956 GB, free: 2.859 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches