Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_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_latest_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.001471/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001659/0.001659, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.25 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2625, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001575/0.2641, allocations: 0.6803 MB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.2648, allocations: 0.8079 MB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.2648, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.2649, allocations: 3.938 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.2649, allocations: 7.938 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.265, allocations: 7.984 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.2651, allocations: 15.94 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.2651, allocations: 8 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.2652, allocations: 15.91 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.2653, allocations: 8 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2653, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.2653, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.2653, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.2653, allocations: 15.92 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.818e-05/0.2654, allocations: 15.92 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2654, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2654, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2654, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 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.0003131/0.2657, allocations: 327.8 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2658, allocations: 16.56 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.2658, allocations: 34.73 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.2658, allocations: 4.844 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.2659, allocations: 168.4 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2659, allocations: 4.375 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.266, allocations: 384 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2661, allocations: 38.25 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2661, allocations: 3.938 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2661, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2661, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.2662, allocations: 11.98 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.2663, allocations: 161.7 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.2664, allocations: 30.53 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.2664, allocations: 16.91 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2664, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2664, allocations: 30.56 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.2664, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001755/0.2666, allocations: 65.55 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2667, allocations: 51.41 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.2667, allocations: 101.9 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2667, allocations: 25.7 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.2668, allocations: 80.14 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2668, allocations: 3.906 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.2668, allocations: 21.7 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.2669, allocations: 314.9 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.267, allocations: 8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.267, allocations: 11.92 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.2671, allocations: 20.84 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2671, allocations: 4 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.409e-05/0.2672, allocations: 49.62 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2672, allocations: 7.938 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2672, allocations: 4.094 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2672, allocations: 0 / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.2673, allocations: 7.984 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2673, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.2673, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2673, allocations: 4 kB / 1.056 GB, free: 5.227 MB / 0.8106 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 5.709e-05/0.2674, allocations: 105.8 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.2674, allocations: 3.938 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.2674, allocations: 7.125 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2674, allocations: 4 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2674, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.2674, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.22e-05/0.2675, allocations: 157.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2675, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.2676, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2676, allocations: 7.938 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2676, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2676, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2676, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2677, allocations: 81.2 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.2677, allocations: 77.11 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2678, allocations: 15.94 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.2678, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.2678, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2678, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.2679, allocations: 83.27 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2679, allocations: 8.031 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001645/0.268, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 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.0003421/0.2684, allocations: 0.6085 MB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2685, allocations: 27.89 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2685, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.2685, allocations: 8 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2687, allocations: 4.969 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.269, allocations: 136.3 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2692, allocations: 0.6807 MB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.2692, allocations: 4 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.2692, allocations: 11.44 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2692, allocations: 0 / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.568/1.837, allocations: 0.9909 MB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.838, allocations: 209.3 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/3.326, allocations: 5 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches