Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Sources.Validation.Sin,fileNamePrefix="Buildings_11_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_11_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.005253/0.005253, allocations: 102.5 kB / 15.73 MB, free: 5.996 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.001439/0.001439, allocations: 187.3 kB / 16.67 MB, free: 5.93 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.646/2.646, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2738, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001492/0.2753, allocations: 0.6192 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.2761, allocations: 0.798 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.2761, allocations: 0 / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2761, allocations: 4 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.2762, allocations: 11.92 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.2763, allocations: 7.984 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.2764, allocations: 19.92 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.2764, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.2765, allocations: 11.88 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.2765, allocations: 11.98 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2765, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.2765, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2766, allocations: 7.984 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.2766, allocations: 7.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.896e-05/0.2767, allocations: 19.91 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2767, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2767, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.2767, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 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.0003312/0.277, allocations: 327.5 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.277, allocations: 8.031 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.2771, allocations: 34.75 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.2771, allocations: 8.891 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2772, allocations: 164.4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.2772, allocations: 384 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-06/0.2772, allocations: 384 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2773, allocations: 46.19 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2774, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.2774, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2774, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.2774, allocations: 11.98 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2776, allocations: 157.7 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.2777, allocations: 26.56 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.2777, allocations: 8.922 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2777, allocations: 3.938 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2778, allocations: 38.5 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2778, allocations: 0 / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.278, allocations: 61.61 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.278, allocations: 51.41 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.2781, allocations: 101.8 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2781, allocations: 25.7 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2781, allocations: 84.14 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2782, allocations: 7.891 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.2782, allocations: 13.72 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2783, allocations: 319 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.2784, allocations: 7.984 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.2784, allocations: 11.94 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.2785, allocations: 16.84 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2785, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.924e-05/0.2786, allocations: 49.62 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2786, allocations: 16.03 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2786, allocations: 3.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2786, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.2787, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.2787, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.2787, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.2787, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 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.329e-05/0.2788, allocations: 109.8 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.2788, allocations: 11.86 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.2788, allocations: 11.12 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2788, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2789, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.2789, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.279, allocations: 149.9 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.279, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.279, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.279, allocations: 3.938 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.279, allocations: 3.984 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.279, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2791, allocations: 8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2792, allocations: 73.08 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2792, allocations: 77.11 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.2792, allocations: 3.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.2793, allocations: 7.984 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.2793, allocations: 3.984 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2793, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.2794, allocations: 87.25 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2794, allocations: 3.938 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001637/0.2795, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 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.0004138/0.2799, allocations: 0.613 MB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.834e-05/0.2801, allocations: 11.98 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2801, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.2801, allocations: 19.92 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.2802, allocations: 0 / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.2805, allocations: 148 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2808, allocations: 0.6769 MB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.2808, allocations: 0 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.2809, allocations: 11.42 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2809, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.032, allocations: 1.112 MB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.89, allocations: 10.42 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches