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.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.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.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 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.001274/0.001274, allocations: 195.6 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.572/2.572, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6335, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001932/0.6355, allocations: 0.6088 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.6366, allocations: 0.8079 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.6366, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.6367, allocations: 3.938 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.6367, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.6369, allocations: 11.94 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.637, allocations: 19.92 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.637, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.6371, allocations: 15.94 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.6372, allocations: 7.984 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.6372, allocations: 3.984 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.6372, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.6372, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.6373, allocations: 7.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.6373, allocations: 19.91 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6373, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6374, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6374, allocations: 0 / 1.019 GB, free: 0.9453 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.0004283/0.6378, allocations: 325.7 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6379, allocations: 8.031 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.6379, allocations: 30.75 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.6379, allocations: 4.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6381, allocations: 168.2 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.6381, allocations: 8.359 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.6381, allocations: 384 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.6382, allocations: 34.27 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6382, allocations: 7.938 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.6383, allocations: 0 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.6383, allocations: 3.984 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.6383, allocations: 8 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.6385, allocations: 157.7 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.098e-05/0.6386, allocations: 30.5 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.6386, allocations: 8.922 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.6387, allocations: 4 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6387, allocations: 34.55 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.6387, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001979/0.6389, allocations: 49.62 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.6389, allocations: 55.41 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.639, allocations: 105.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.639, allocations: 29.83 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.6391, allocations: 84.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.6391, allocations: 7.906 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.6391, allocations: 9.719 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6392, allocations: 314.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.6393, allocations: 8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.6393, allocations: 8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.6394, allocations: 20.91 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6394, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001064/0.6395, allocations: 53.61 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6395, allocations: 7.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6396, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6396, allocations: 11.92 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.6396, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6397, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.6397, allocations: 11.97 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.6397, allocations: 0 / 1.02 GB, free: 15.13 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 6.431e-05/0.6398, allocations: 113.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.6398, allocations: 11.88 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.6398, allocations: 3.125 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6398, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6398, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.6398, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.64, allocations: 153.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.64, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.64, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.64, allocations: 3.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.64, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.64, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.64, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.6402, allocations: 77.31 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.6402, allocations: 85.05 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6402, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.6403, allocations: 7.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.6403, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.6403, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.6403, allocations: 83.28 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6403, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001762/0.6405, allocations: 4 kB / 1.021 GB, free: 14.48 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.0003586/0.6409, allocations: 0.6085 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.641, allocations: 19.92 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.641, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.6411, allocations: 11.98 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.6412, allocations: 6.031 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.6416, allocations: 140.3 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.6418, allocations: 0.6729 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.6418, allocations: 3.984 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.6418, allocations: 11.44 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6418, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/0.6916, allocations: 1.088 MB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/8.155, allocations: 13.89 kB / 1.024 GB, free: 11.89 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