Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Sources.Validation.Sin,fileNamePrefix="Buildings_10_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_10_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.001019/0.001019, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001036/0.001036, allocations: 196.1 kB / 16.14 MB, free: 6.645 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.275/2.275, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 71.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5309, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00154/0.5325, allocations: 0.6784 MB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.5331, allocations: 0.8001 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.5332, allocations: 4 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.5332, allocations: 3.938 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.5332, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.829e-05/0.5333, allocations: 11.98 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.633e-05/0.5334, allocations: 15.94 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.5334, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.5335, allocations: 23.84 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.5335, allocations: 8 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.5335, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.5335, allocations: 4 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.5336, allocations: 0 / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.5336, allocations: 11.92 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.409e-05/0.5336, allocations: 15.92 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.5336, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.01e-07/0.5336, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.5337, allocations: 0 / 1.018 GB, free: 1.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002777/0.5339, allocations: 321.8 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.534, allocations: 12.03 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.534, allocations: 38.75 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.534, allocations: 12.77 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.37e-05/0.5341, allocations: 164.4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.5341, allocations: 384 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-06/0.5341, allocations: 384 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.758e-05/0.5342, allocations: 34.25 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.5342, allocations: 3.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.5342, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5342, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.5343, allocations: 23.92 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.5344, allocations: 153.7 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.5345, allocations: 22.61 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.5345, allocations: 12.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5345, allocations: 3.984 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.5346, allocations: 34.56 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5346, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001529/0.5347, allocations: 61.55 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5348, allocations: 51.41 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.5348, allocations: 101.9 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5349, allocations: 29.7 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.5349, allocations: 80.14 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.5349, allocations: 3.906 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.5349, allocations: 21.83 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.535, allocations: 314.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.5351, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.5351, allocations: 7.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.5352, allocations: 28.72 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5352, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.98e-05/0.5353, allocations: 45.75 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5353, allocations: 9.656 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.5353, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.5353, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.5354, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5354, allocations: 3.984 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.5354, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5354, allocations: 4 kB / 1.02 GB, free: 15.41 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 (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.575e-05/0.5355, allocations: 114.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.5355, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.5355, allocations: 7.125 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5355, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5355, allocations: 3.984 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-06/0.5355, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.339e-05/0.5356, allocations: 157.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5356, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.5356, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5357, allocations: 7.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5357, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5357, allocations: 7.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.5357, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.5358, allocations: 69.11 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.5358, allocations: 81.02 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.5358, allocations: 7.938 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.5359, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.5359, allocations: 4.031 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5359, allocations: 256 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.5359, allocations: 91.27 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5359, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001655/0.5361, allocations: 0 / 1.02 GB, free: 14.77 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 (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.0003297/0.5364, allocations: 0.6124 MB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.5365, allocations: 19.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.5365, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.5366, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.5367, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.537, allocations: 142.1 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5372, allocations: 0.677 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.5372, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.5372, allocations: 19.38 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5373, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008992/0.5462, allocations: 0.9515 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5465, allocations: 213.2 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.957, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches