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.004997/0.004997, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001435/0.001435, allocations: 193.2 kB / 16.67 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.613/2.613, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 72.11 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001731/0.2733, allocations: 0.6673 MB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.2741, allocations: 0.8057 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.2742, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2742, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.2742, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.2744, allocations: 7.984 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.2744, allocations: 31.92 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.348e-05/0.2745, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.2746, allocations: 11.94 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.2746, allocations: 15.97 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2746, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.2746, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.2747, allocations: 3.938 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.2747, allocations: 11.98 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.908e-05/0.2748, allocations: 19.91 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2748, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2748, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.2748, allocations: 0 / 1.222 GB, free: 12.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.2752, allocations: 337.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2752, allocations: 12.03 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.2752, allocations: 30.75 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.2753, allocations: 4.891 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2754, allocations: 172.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2754, allocations: 4.359 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-06/0.2754, allocations: 4.375 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2756, allocations: 50.23 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2756, allocations: 3.938 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2756, allocations: 7.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2756, allocations: 3.984 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.2758, allocations: 31.97 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.2761, allocations: 252.9 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2762, allocations: 42.53 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.2763, allocations: 20.91 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2763, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2763, allocations: 30.56 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2764, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003171/0.2767, allocations: 85.58 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2767, allocations: 51.41 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.2768, allocations: 101.8 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2768, allocations: 25.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.2769, allocations: 88.03 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2769, allocations: 16.06 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2769, allocations: 13.72 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2771, allocations: 318.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.2771, allocations: 15.98 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.2772, allocations: 11.98 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2774, allocations: 40.89 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2774, allocations: 3.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.2776, allocations: 69.59 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2776, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2776, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.2776, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.2777, allocations: 11.98 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2777, allocations: 32 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.2778, allocations: 15.98 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.2778, allocations: 0 / 1.224 GB, free: 10.52 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 (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.838e-05/0.2778, allocations: 109.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.2779, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.2781, allocations: 72.72 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2781, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2781, allocations: 4.031 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2781, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2783, allocations: 165.6 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2783, allocations: 3.938 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.2783, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2784, allocations: 3.984 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2784, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2784, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2786, allocations: 171.4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.2787, allocations: 77.11 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.2787, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.2788, allocations: 8 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.2788, allocations: 3.984 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2788, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.2789, allocations: 87.44 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2789, allocations: 0 / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002074/0.2791, allocations: 8 kB / 1.224 GB, free: 9.707 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 (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.0005506/0.2796, allocations: 0.6993 MB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.2798, allocations: 35.95 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2798, allocations: 3.938 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.2799, allocations: 19.92 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2802, allocations: 8.141 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.2805, allocations: 151.6 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2808, allocations: 0.6729 MB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.2808, allocations: 3.984 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2809, allocations: 7.438 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2809, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.609/1.89, allocations: 1.266 MB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.57, allocations: 13.33 kB / 1.227 GB, free: 6.82 MB / 0.9825 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