Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.00564/0.00564, allocations: 106.2 kB / 15.74 MB, free: 6.449 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.001246/0.001247, allocations: 196.1 kB / 16.67 MB, free: 6.355 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.89 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 162.3 MB / 1.242 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002003/0.2924, allocations: 0.8916 MB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2935, allocations: 0.8896 MB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.2936, allocations: 0 / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.2937, allocations: 19.8 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.2937, allocations: 11.88 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.2939, allocations: 55.92 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.2941, allocations: 143.7 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2943, allocations: 61.45 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.2944, allocations: 47.8 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.2945, allocations: 59.75 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.2945, allocations: 19.92 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.2945, allocations: 12 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.2946, allocations: 31.91 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.2946, allocations: 59.66 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.2948, allocations: 147.3 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2948, allocations: 3.938 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2948, allocations: 0 / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2949, allocations: 0 / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000634/0.2955, allocations: 445.2 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2955, allocations: 8.031 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.2956, allocations: 50.73 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.2956, allocations: 20.84 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2959, allocations: 220 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2959, allocations: 12.38 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.296, allocations: 12.38 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2963, allocations: 146.7 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2963, allocations: 7.922 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.2963, allocations: 8 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2963, allocations: 4 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2967, allocations: 127.9 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.2974, allocations: 492.2 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.2976, allocations: 94.41 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2978, allocations: 44.84 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2978, allocations: 0 / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2978, allocations: 30.56 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.2978, allocations: 0 / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004573/0.2983, allocations: 161.7 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.2983, allocations: 63.39 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2986, allocations: 195.4 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2986, allocations: 29.64 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2987, allocations: 116 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2987, allocations: 35.69 kB / 1.247 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.2987, allocations: 29.7 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2989, allocations: 326.8 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.299, allocations: 39.97 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2991, allocations: 51.59 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.2994, allocations: 84.83 kB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2994, allocations: 7.938 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003118/0.2997, allocations: 149.5 kB / 1.247 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2997, allocations: 11.94 kB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2997, allocations: 0 / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2998, allocations: 0 / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2999, allocations: 23.98 kB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2999, allocations: 0 / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.3, allocations: 23.88 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3, allocations: 4 kB / 1.247 GB, free: 4.035 MB / 0.9981 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 (13): * Single equations (assignments): 13 * 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 9.091e-05/0.3001, allocations: 121.8 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3002, allocations: 19.91 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.3005, allocations: 139.3 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3005, allocations: 0 / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3005, allocations: 0 / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3006, allocations: 4.094 kB / 1.248 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.3012, allocations: 468.7 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3012, allocations: 0 / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3013, allocations: 19.98 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3013, allocations: 4 kB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3013, allocations: 0 / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3013, allocations: 8 kB / 1.248 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3013, allocations: 3.938 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.3017, allocations: 246 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3017, allocations: 93.02 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3017, allocations: 7.984 kB / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3019, allocations: 19.98 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3019, allocations: 11.92 kB / 1.248 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3019, allocations: 4 kB / 1.248 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001145/0.3021, allocations: 145.2 kB / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3021, allocations: 0 / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000235/0.3023, allocations: 20 kB / 1.249 GB, free: 2.602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006706/0.303, allocations: 0.7812 MB / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.3033, allocations: 99.89 kB / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3033, allocations: 0 / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3034, allocations: 47.98 kB / 1.249 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3037, allocations: 16.09 kB / 1.249 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4813/0.7851, allocations: 1.894 MB / 1.251 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.7852, allocations: 0.7068 MB / 1.252 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.001e-05/0.7853, allocations: 14.69 kB / 1.252 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.7854, allocations: 42.23 kB / 1.252 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7854, allocations: 2.344 kB / 1.252 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9533/1.739, allocations: 2.817 MB / 1.255 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.15, allocations: 4.406 kB / 1.255 GB, free: 13.03 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches