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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001383/0.001382, 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.001451/0.001451, allocations: 190.9 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 64.09 kB / 0.8689 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6596, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001865/0.6615, allocations: 0.7318 MB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.6624, allocations: 0.8079 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.6624, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.6624, allocations: 4 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.6625, allocations: 3.938 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.6627, allocations: 11.98 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.6627, allocations: 19.92 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.6628, allocations: 8 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.6629, allocations: 15.92 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.6629, allocations: 7.984 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6629, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.6629, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.663, allocations: 11.94 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.663, allocations: 7.984 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.03e-05/0.6631, allocations: 27.91 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6631, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6631, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6631, allocations: 0 / 1.019 GB, free: 1.117 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.000444/0.6635, allocations: 333.7 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6636, allocations: 8.031 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.6636, allocations: 34.75 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.6637, allocations: 4.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.6638, allocations: 168.2 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.6638, allocations: 4.375 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6638, allocations: 384 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.664, allocations: 54.22 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.664, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.664, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.664, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.6642, allocations: 39.95 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.6645, allocations: 248.9 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.6646, allocations: 46.47 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.6647, allocations: 24.84 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.6647, allocations: 7.984 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.6648, allocations: 34.56 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6648, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000326/0.6651, allocations: 81.58 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.6652, allocations: 55.41 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.6652, allocations: 102 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.6652, allocations: 29.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.6653, allocations: 84.08 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.6653, allocations: 3.906 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.6653, allocations: 13.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.6654, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.6655, allocations: 19.97 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.6656, allocations: 19.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.6657, allocations: 36.83 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6657, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.6659, allocations: 65.59 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6659, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.6659, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.666, allocations: 4.094 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.666, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.6661, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.6661, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6661, allocations: 4 kB / 1.02 GB, free: 15.04 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 6.362e-05/0.6662, allocations: 114.3 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.6662, allocations: 3.906 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.6664, allocations: 72.78 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.6665, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.6666, allocations: 161.6 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.6667, allocations: 12 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6667, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6667, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6667, allocations: 8.016 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6667, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.6669, allocations: 155.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.667, allocations: 81.09 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.667, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.6671, allocations: 8.031 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.6671, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.6671, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.6671, allocations: 87.25 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6671, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002056/0.6674, allocations: 4 kB / 1.021 GB, free: 14.23 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.0005306/0.6679, allocations: 0.7006 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.6681, allocations: 39.95 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6681, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.6682, allocations: 24.02 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.6684, allocations: 6.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.6688, allocations: 143.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.6691, allocations: 0.6729 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.6691, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.6691, allocations: 11.42 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6691, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009151/0.6783, allocations: 1.1 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.6785, allocations: 198.4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.299, allocations: 0 / 1.024 GB, free: 11.29 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