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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00709/0.00709, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001901/0.001901, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.08 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 162.2 MB / 1.242 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001724/0.2848, allocations: 0.675 MB / 1.242 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.2857, allocations: 0.8082 MB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.2857, allocations: 0 / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.2858, allocations: 3.938 kB / 1.243 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/0.2858, allocations: 11.94 kB / 1.243 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.286, allocations: 7.984 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.286, allocations: 27.91 kB / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.2861, allocations: 4 kB / 1.243 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.2862, allocations: 11.98 kB / 1.243 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.2862, allocations: 11.94 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2862, allocations: 0 / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.2863, allocations: 4 kB / 1.243 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2863, allocations: 3.984 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.2863, allocations: 15.94 kB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.2864, allocations: 25.3 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2864, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2864, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2864, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 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.0004639/0.2869, allocations: 339.7 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2869, allocations: 12.03 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.287, allocations: 30.75 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.287, allocations: 0.9375 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2871, allocations: 172.3 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2871, allocations: 4.375 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.2872, allocations: 4.375 kB / 1.244 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2873, allocations: 50.17 kB / 1.244 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2873, allocations: 3.938 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2874, allocations: 4 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2874, allocations: 0 / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2875, allocations: 31.97 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.2879, allocations: 245 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.288, allocations: 46.42 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.2881, allocations: 16.91 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2881, allocations: 0 / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2882, allocations: 38.56 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2882, allocations: 0 / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.2885, allocations: 77.64 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2886, allocations: 55.41 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.2887, allocations: 105.8 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2887, allocations: 29.64 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.2888, allocations: 88.2 kB / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2888, allocations: 15.89 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.2888, allocations: 9.719 kB / 1.244 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2889, allocations: 314.8 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.289, allocations: 19.98 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.2891, allocations: 11.98 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2893, allocations: 40.89 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2893, allocations: 3.938 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.2895, allocations: 65.61 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2895, allocations: 9.875 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2895, allocations: 0 / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2896, allocations: 0 / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.2897, allocations: 19.95 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2897, allocations: 4 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.2897, allocations: 7.984 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.2897, allocations: 0 / 1.245 GB, free: 5.578 MB / 0.9669 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 7.895e-05/0.2898, allocations: 110.3 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.2898, allocations: 0 / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.2901, allocations: 76.78 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2901, allocations: 4 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2901, allocations: 0 / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2901, allocations: 0 / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2903, allocations: 165.5 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2903, allocations: 0 / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.2904, allocations: 11.98 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2904, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2904, allocations: 3.938 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2904, allocations: 0 / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2904, allocations: 0 / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2907, allocations: 167.5 kB / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.2907, allocations: 85.06 kB / 1.245 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2907, allocations: 0 / 1.245 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.2908, allocations: 7.984 kB / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.2909, allocations: 0 / 1.245 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2909, allocations: 4.031 kB / 1.245 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.2909, allocations: 79.28 kB / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.134e-06/0.2909, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002234/0.2912, allocations: 11.94 kB / 1.246 GB, free: 4.77 MB / 0.9669 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.0006027/0.2918, allocations: 0.7006 MB / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.292, allocations: 35.97 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.292, allocations: 3.938 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.2921, allocations: 15.98 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2924, allocations: 12.08 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.2927, allocations: 145.7 kB / 1.246 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2931, allocations: 0.6768 MB / 1.247 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.2931, allocations: 4 kB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.2931, allocations: 7.438 kB / 1.247 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.2931, allocations: 0 / 1.247 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.3145, allocations: 1.266 MB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.856, allocations: 13.11 kB / 1.248 GB, free: 1.883 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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