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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001239, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.606/2.606, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5884, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002081/0.5905, allocations: 0.6692 MB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.5916, allocations: 0.8117 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.5917, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.5917, allocations: 3.938 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.5918, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.5919, allocations: 11.92 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.592, allocations: 23.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.5921, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.5922, allocations: 19.86 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.5923, allocations: 11.98 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.5923, allocations: 8 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.5923, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.5923, allocations: 3.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.5924, allocations: 11.98 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.527e-05/0.5924, allocations: 19.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5924, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5924, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5925, allocations: 0 / 1.019 GB, free: 0.9102 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.0004384/0.5929, allocations: 333.7 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.593, allocations: 16.03 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.593, allocations: 30.75 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.593, allocations: 4.938 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5931, allocations: 172.3 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5932, allocations: 384 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.5932, allocations: 384 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5934, allocations: 46.25 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5934, allocations: 7.875 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5934, allocations: 3.984 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5934, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.5936, allocations: 35.91 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.594, allocations: 240.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5941, allocations: 42.53 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.5942, allocations: 20.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.5942, allocations: 7.984 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5943, allocations: 38.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5943, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.5946, allocations: 77.64 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5947, allocations: 55.53 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.5947, allocations: 105.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.5948, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.5948, allocations: 84.08 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.5948, allocations: 11.91 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.5948, allocations: 9.719 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.5949, allocations: 326.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.595, allocations: 19.98 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.5951, allocations: 15.92 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.5953, allocations: 40.83 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5953, allocations: 3.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.5955, allocations: 73.72 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5955, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5955, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5955, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.5956, allocations: 11.98 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5956, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.5957, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.5957, allocations: 0 / 1.021 GB, free: 14.84 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.256e-05/0.5958, allocations: 113.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.5958, allocations: 11.94 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.596, allocations: 68.78 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.596, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.596, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.596, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.5962, allocations: 165.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5962, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.5963, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5963, allocations: 11.95 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5963, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.5964, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5964, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.5967, allocations: 163.4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.5968, allocations: 81.11 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5968, allocations: 4.031 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.597, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.597, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.597, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.5971, allocations: 83.28 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5971, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000394/0.5975, allocations: 4 kB / 1.021 GB, free: 14.03 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.0007212/0.5983, allocations: 0.7045 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5985, allocations: 35.95 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5985, allocations: 96 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.5986, allocations: 23.98 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5989, allocations: 11.92 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.5993, allocations: 135.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.5996, allocations: 0.6767 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.5996, allocations: 8.047 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.5996, allocations: 11.44 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5996, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.6191, allocations: 1.233 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.411, allocations: 10.2 kB / 1.024 GB, free: 11.16 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