Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 198.2 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 70.33 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2717, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001957/0.2736, allocations: 0.6679 MB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.2746, allocations: 0.8118 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.2747, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.2747, allocations: 3.938 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.2748, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.2749, allocations: 19.92 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.275, allocations: 23.92 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.2751, allocations: 4 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.2751, allocations: 15.92 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.2752, allocations: 7.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2752, allocations: 7.984 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.2752, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2752, allocations: 7.984 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2752, allocations: 7.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.581e-05/0.2753, allocations: 15.97 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2753, allocations: 4 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2753, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2753, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8262 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.0004347/0.2758, allocations: 335.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2758, allocations: 8.031 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2759, allocations: 30.75 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.2759, allocations: 8.844 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.276, allocations: 164.4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.276, allocations: 8.312 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2761, allocations: 8.375 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2762, allocations: 42.23 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2762, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2763, allocations: 11.94 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2763, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2764, allocations: 27.97 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.2768, allocations: 249 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2769, allocations: 42.5 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.277, allocations: 16.91 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.277, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2771, allocations: 38.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2771, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003405/0.2774, allocations: 85.55 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2775, allocations: 51.41 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.2775, allocations: 105.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2776, allocations: 25.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2776, allocations: 84.27 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.2776, allocations: 3.906 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.2777, allocations: 17.72 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2778, allocations: 314.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.2779, allocations: 15.98 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.278, allocations: 19.92 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2781, allocations: 40.88 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2782, allocations: 3.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.2783, allocations: 61.67 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2784, allocations: 4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2784, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2784, allocations: 4 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.2785, allocations: 8.016 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2785, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.2785, allocations: 15.98 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2786, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 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 8.312e-05/0.2786, allocations: 113.8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2787, allocations: 3.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.2789, allocations: 80.72 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2789, allocations: 4.125 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2789, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2789, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2791, allocations: 165.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2791, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.2792, allocations: 11.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2792, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2792, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2792, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2792, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2795, allocations: 173.3 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.2795, allocations: 84.95 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2795, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.2796, allocations: 7.984 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2796, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2796, allocations: 4.031 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.2797, allocations: 79.28 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2797, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002063/0.2799, allocations: 8 kB / 1.068 GB, free: 9.707 MB / 0.8262 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.0005764/0.2805, allocations: 0.7007 MB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2807, allocations: 35.97 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2807, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.2808, allocations: 11.98 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.281, allocations: 11.98 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2815, allocations: 140 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2818, allocations: 0.6806 MB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.2818, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.2818, allocations: 11.44 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2818, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4504/0.7322, allocations: 1.233 MB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/9.618, allocations: 2.25 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches