Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001403/0.001403, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 67.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5288, allocations: 151.6 MB / 1.017 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00183/0.5307, allocations: 0.7241 MB / 1.017 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.5315, allocations: 0.804 MB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.5316, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.5316, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.5317, allocations: 7.922 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.5318, allocations: 11.92 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.5319, allocations: 23.88 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.5319, allocations: 11.98 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.532, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.532, allocations: 19.92 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.5321, allocations: 0 / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.5321, allocations: 4 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.5321, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.5321, allocations: 11.94 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.129e-05/0.5322, allocations: 23.95 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5322, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.41e-07/0.5322, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5322, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 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.0003765/0.5326, allocations: 337.9 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5326, allocations: 8.031 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.5327, allocations: 38.73 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.5327, allocations: 4.844 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.5328, allocations: 160.4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.5328, allocations: 4.312 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.5328, allocations: 8.359 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.533, allocations: 54.17 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.533, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.533, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.533, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.5332, allocations: 35.95 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.5334, allocations: 241 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.5336, allocations: 46.44 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.5337, allocations: 24.89 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.5337, allocations: 0 / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5337, allocations: 38.56 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.5337, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003235/0.534, allocations: 81.73 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5341, allocations: 55.41 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.5342, allocations: 93.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5342, allocations: 25.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.5342, allocations: 88.08 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.5342, allocations: 7.891 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.5343, allocations: 17.66 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.5344, allocations: 314.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.5345, allocations: 20.02 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.5345, allocations: 19.97 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5347, allocations: 36.83 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.5347, allocations: 7.875 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.5349, allocations: 69.62 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5349, allocations: 8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5349, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.5349, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.535, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.535, allocations: 7.922 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.5351, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5351, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 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 7.457e-05/0.5352, allocations: 118.3 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.5352, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5354, allocations: 72.77 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5354, allocations: 3.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5355, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.5355, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.5356, allocations: 157.6 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5356, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.5357, allocations: 16.02 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5357, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.5357, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5357, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5357, allocations: 3.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.5359, allocations: 167.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.536, allocations: 77.11 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.536, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.5361, allocations: 3.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.5361, allocations: 4.188 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.5361, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5362, allocations: 87.25 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5362, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000204/0.5364, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 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.0004717/0.5369, allocations: 0.7006 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.5371, allocations: 43.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.5371, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.5371, allocations: 19.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.5374, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.5378, allocations: 141.6 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.538, allocations: 0.6772 MB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.538, allocations: 7.938 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.538, allocations: 15.44 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.538, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009766/0.5478, allocations: 1.059 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.548, allocations: 201 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.123, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches