Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_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.005214/0.005214, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001329/0.001329, allocations: 202.7 kB / 16.68 MB, free: 5.969 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2759, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001611/0.2775, allocations: 0.605 MB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.2784, allocations: 0.8121 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.2784, allocations: 0 / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.2785, allocations: 7.875 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.2785, allocations: 3.984 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.2786, allocations: 11.94 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.2787, allocations: 23.84 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.2788, allocations: 8 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.2788, allocations: 8 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.2789, allocations: 11.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2789, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.2789, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2789, allocations: 4 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.279, allocations: 7.938 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.967e-05/0.279, allocations: 15.95 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2791, allocations: 0 / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2791, allocations: 0 / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2791, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 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.0003781/0.2794, allocations: 335.7 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2795, allocations: 8.031 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.2795, allocations: 30.75 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.2796, allocations: 4.891 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2797, allocations: 168.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2797, allocations: 4.359 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.2797, allocations: 384 / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2798, allocations: 38.27 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2798, allocations: 3.938 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2798, allocations: 3.984 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2799, allocations: 7.984 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.2799, allocations: 8 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2801, allocations: 157.6 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.2802, allocations: 34.53 kB / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.2802, allocations: 12.92 kB / 1.168 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2802, allocations: 0 / 1.168 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2803, allocations: 34.55 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.2803, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001922/0.2805, allocations: 53.62 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2805, allocations: 51.41 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.2806, allocations: 110 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2806, allocations: 25.7 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.2807, allocations: 84.14 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2807, allocations: 7.891 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.2807, allocations: 13.72 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2809, allocations: 314.8 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.2809, allocations: 4 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.2809, allocations: 11.94 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.281, allocations: 24.91 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.281, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.2811, allocations: 49.67 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2811, allocations: 7.938 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2811, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2812, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.2812, allocations: 4 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2812, allocations: 3.938 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.2813, allocations: 8.031 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2813, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 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 7.548e-05/0.2814, allocations: 109.8 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.2814, allocations: 7.938 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.2814, allocations: 7.125 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.2814, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2814, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2814, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2815, allocations: 153.7 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2815, allocations: 4 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2816, allocations: 7.984 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2816, allocations: 7.875 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2816, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2816, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.2816, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2817, allocations: 73.08 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.2818, allocations: 81.36 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2818, allocations: 7.875 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.2818, allocations: 7.984 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.2819, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.2819, allocations: 4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.2819, allocations: 79.28 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2819, allocations: 0 / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001666/0.2821, allocations: 4 kB / 1.17 GB, free: 3.238 MB / 0.92 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.0004295/0.2825, allocations: 0.6086 MB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2826, allocations: 23.92 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2827, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.2827, allocations: 12.08 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.2828, allocations: 7.938 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.2832, allocations: 132.2 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.2835, allocations: 0.6767 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.2835, allocations: 3.984 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.2835, allocations: 7.438 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2835, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8342/1.118, allocations: 1.112 MB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.89, allocations: 18.36 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches