Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.00109/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001148, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.36 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2797, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001842/0.2816, allocations: 0.7323 MB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.2825, allocations: 0.8157 MB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.2825, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.2825, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.2826, allocations: 7.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.2827, allocations: 15.97 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.2828, allocations: 19.88 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.2829, allocations: 11.98 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.2829, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.283, allocations: 15.92 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.283, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.283, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.283, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.283, allocations: 15.94 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.187e-05/0.2831, allocations: 23.94 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2831, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2831, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2831, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 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.0003856/0.2835, allocations: 335.8 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2836, allocations: 12.03 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.2836, allocations: 34.69 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.2836, allocations: 4.844 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.2837, allocations: 168.3 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2837, allocations: 4.375 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2838, allocations: 384 / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2839, allocations: 50.23 kB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2839, allocations: 3.938 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.284, allocations: 0 / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.284, allocations: 0 / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.2841, allocations: 35.95 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.2844, allocations: 245 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2845, allocations: 42.44 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.2846, allocations: 28.83 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2847, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2847, allocations: 38.56 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2847, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000327/0.285, allocations: 77.64 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2851, allocations: 59.34 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.2851, allocations: 97.86 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2852, allocations: 25.83 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.2852, allocations: 88.12 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.2852, allocations: 3.906 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2853, allocations: 17.72 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.2853, allocations: 310.8 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.2854, allocations: 15.98 kB / 1.055 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.2855, allocations: 19.97 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2857, allocations: 40.89 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2857, allocations: 3.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.2858, allocations: 69.5 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2859, allocations: 8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2859, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.2859, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.286, allocations: 12.02 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.286, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.286, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.2861, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 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 6.08e-05/0.2861, allocations: 117.7 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2861, allocations: 3.984 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.2864, allocations: 72.78 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2864, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2864, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2864, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2865, allocations: 157.6 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2865, allocations: 3.938 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.2866, allocations: 16.17 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2866, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2866, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2866, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2866, allocations: 8.016 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2868, allocations: 159.5 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.2869, allocations: 84.95 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2869, allocations: 7.984 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.287, allocations: 8 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.287, allocations: 4.031 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.287, allocations: 7.922 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.2871, allocations: 79.28 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2871, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002073/0.2873, allocations: 4 kB / 1.056 GB, free: 3.68 MB / 0.8106 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.0004852/0.2878, allocations: 0.6967 MB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.288, allocations: 39.95 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.288, allocations: 0 / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.2881, allocations: 23.92 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2884, allocations: 5.703 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.2887, allocations: 137.7 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2889, allocations: 0.677 MB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.289, allocations: 0 / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.289, allocations: 15.44 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.289, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009839/0.2989, allocations: 1.073 MB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.2991, allocations: 208.8 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.95, allocations: 1.75 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches